A clever trick to improve the speed of your firefox browser is by vacuuming its sqlite database. The VACUUM process rebuilds the database, thus defragmenting it, reduces the size and makes searching in it faster, using disk more efficiently may also reduce the load on your disk as it reads in sequence from my sectors. In general, this applies to any database that does not automatically perform vacuum / defrag on itself.

The process of defragmenting the Firefox database itself is quite trivial – we perform sqlite3 db-file VACUUM in the firefox profile directory. In linux, the path to it is usually ~ / .mozilla / firefox / random-name.default. In principle, you should only have 1 directory in .mozilla / firefox if you have more you can check ~ / .mozilla / firefox / profiles.ini for the correct directory in your browser's profile. Since I don't care about doing the process by hand, I wrote an elementary script to defragment the databases.:

for db in $(find ~/.mozilla/firefox/$(grep Path ~/.mozilla/firefox/profiles.ini | cut -d'=' -f2) -maxdepth 1 -name "*.sqlite" -type f)
do
   echo "VACUUM ${db}"
   sqlite3 ${db} VACUUM
   sqlite3 ${db} REINDEX
done

After executing the script, the search in the history and the loading of the fox itself is significantly faster. I guess the script can be used in Mac OS with small modifications.

p.s Here is the option for Mac OS X. – tested on Mac OS X Sierra. We have to force the delimiter to be a new line because of space in the path to the folder that contains the firefox profile

OIFS="$IFS"
IFS=$'\n'
for db in $(find ~/Library/Application\ Support/Firefox/$(grep Path ~/Library/Application\ Support/Firefox/profiles.ini | cut -d'=' -f2)  -maxdepth 1  -name "*.sqlite" -type f)
do
echo "VACUUM && REINDEX ${db}"
sqlite3 "${db}" VACUUM;
sqlite3 "${db}" REINDEX;
done

From time to time I have to use Bitcoin URI and when I need my client has not associated it is annoying, that I have to do everything by hand. The procedure is extremely trivial for the association in question. It can be synthesized in the following 5 points

  1. Open your address bar about:config
  2. Create a new boolean key (right-click clip -> new -> boolean)
  3. Enter a name: network.protocol-handler.expose.bitcoin
  4. Select a false value
  5. The next time you click on the Bitcoin URI you will be asked to choose the path to your Bitcoin client. Be sure it has enforceable rights.

I personally use MultiBit the customer who has all the necessary functionality and is agile enough

Official Iceweasel Icon, used in Debian Package

I have been using Debian for almost 5-6 years already. One of the things that has always bothered me is, that the people of the Debian team have replaced Firefox with Iceweasel. The reason is quite ideological – because Debian people want to have it completely 100% free distribution and some components like fonts and other things are proprietary in Firefox the fork is used in which it is free from these things. Sometimes “The Ice Weasel” she behaved strangely, but I never had 100% clear proof, that it is marginally a different browser. At least that was the case until yesterday. I did it yesterday html5 test on my browser and found the unpleasant fact, that I do 10-15 points less than the standard version. Extremely unpleasant, I immediately checked my versions were the same 18.0.1. From now on, things are clear, that I will go back to the standard version but I wonder why important components do not work as expected and this is not mentioned. In general, I am quite annoyed by fanatical ideologues who will prefer 100% an open solution that, even if it doesn't work as well as it should, will be basic. It's like losing the main performance of the GPU to use the free driver for Nvidia instead of the one offered by the manufacturer. – personally i can't afford such a loss of performance. So let's go back to the migration from one browser to another. In general, it is quite simple, if I can list it in a few steps, I will emphasize the most important ones

  1. Downloading the correct version for your architecture matters whether you use the x86 or x64 version of the plugins as a flash and someone else already installed on your system. If you are not sure what your architecture is you can check with the uname -m command in the goat.
wget ftp://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-$(uname -m)/en-US/firefox-18.0.1.tar.bz2 -O /tmp/firefox.tar.bz2
  1. Unzip the browser you can do it where you want / home / opt or where your soul wants you personally I preferred / opt
tar jxfv /tmp/firefox.tar.bz2 -C /opt/
  1. Add a link to the old executable file to the new browser location
ln -s /opt/firefox/firefox /usr/bin/firefox
  1. adding a link for the plugins to the new location so we can watch flash videos and so on
ln -s /usr/lib/mozilla/plugins /opt/firefox/plugins
  1. update the default browser
update-alternatives --install  /usr/bin/x-www-browser x-www-browser /opt/firefox/firefox 100
  1. and add an entry for the new program to your system
echo '[Desktop Entry]
Name=Firefox
GenericName=Web Browser
Comment=Surf the internet
Exec=/opt/firefox/firefox %u
Terminal=false
Icon=/opt/firefox/icons/mozicon128.png
Type=Application
Categories=Application;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;
StartupWMClass=Firefox-bin
StartupNotify=true' > /usr/share/applications/firefox.desktop

In general, these are the steps we need to follow. Because I'm lazy and I can't do everything by hand, I made the following script every time.

#!/bin/bash

VERSION='18.0.1'

if [ $EUID -ne 0 ]
then
echo -en "�33[1;31mERROR: Must be a 'root'!!! nUse 'su' or 'sudo ./ff_install' :) �33[0m n"
exit
fi

wget ftp://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-$(uname -m)/en-US/firefox-18.0.1.tar.bz2 -O /tmp/firefox.tar.bz2

tar jxfv /tmp/firefox.tar.bz2 -C /opt/
chown $1:$1 -R /opt/firefox
mv /usr/bin/firefox /usr/bin/firefox-iw
ln -s /opt/firefox/firefox /usr/bin/firefox
ln -s /usr/lib/mozilla/plugins /opt/firefox/plugins

update-alternatives --install  /usr/bin/x-www-browser x-www-browser /opt/firefox/firefox 100

echo '[Desktop Entry]
Name=Firefox
GenericName=Web Browser
Comment=Surf the internet
Exec=/opt/firefox/firefox %u
Terminal=false
Icon=/opt/firefox/icons/mozicon128.png
Type=Application
Categories=Application;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;
StartupWMClass=Firefox-bin
StartupNotify=true' > /usr/share/applications/firefox.desktop

An important thing I missed is that the directory where the version of firefox is located must belong to your current user in order to be able to upgrade versions without problems. Therefore, the above script must be started with your user attribute.

./ff_install your_user_name

This wonderful Saturday night I'm at home and out of nowhere I had to do to update my topic that it was 2 versions back 😆 overall nice that I know which file where I picked it all went pretty smoothly I just forgot to do 2 fix on the css and an additional setting 🙂 Definitely the topic fixes a lot of annoying bugs for example search bar before it was a curve and misaligned now things look a lot smoother

I've been using Firefox 3.1beta2 for a week, I can't complain about the browser at all. It's great for speed. At least 2-3 times faster a little lightened linux option that was hellishly bad even more than skype ;). I just had to disable the add-on compatibility check, which is super easy. When a new tab is opened and the address bar is written about:config Then right-click and click new->boolean for a name you put extensions.checkCompatibility and value you choose false And you're done