Archive for the ‘firefox’ Category

open a web page from a bash script

February 4, 2016 Leave a comment

How to open a web page from a bash script?

Under Manjaro:

$ xdg-open http://your/url

However, it opened Chrome by default while I’m a Firefox believer. Here is the remedy:

$ xdg-settings set default-web-browser firefox.desktop
$ xdg-open http://your/url

Now it works as it is supposed to work.

Categories: bash, firefox Tags:


November 28, 2015 Leave a comment

You visit some websites quite often but the focus is not put on the input field, so you need to click there each time. Google puts the focus on the input field when you want to do a query. Why can’t other sites do the same?

I got fed up so I wrote a Greasemonkey script that does the autofocus job for me. Thus, after opening such a site, I can type immediately.

You can find the script here: . The script is very simple and can be customized easily. Currently it contains 2 rules: one for Wikipedia, and one for IMDb.

Speed up Firefox page load by 44%

Details here.

In short:

  1. about:config
  2. privacy.trackingprotection.enabled -> true

list your Firefox add-ons

I use several machines and I would like to create a unified list that contains my favourite Firefox add-ons. This list could be kept in Dropbox, thus I could access it on all my machines. How to generate a list of installed add-ons?

The add-on Addon List Dumper can do exactly this. Here is a screenshot about this add-on:


Categories: firefox Tags:

bypass redirects in Firefox

There are certain sites where links are randomly redirected to other sites and if you want to visit the intended link, you need to click on the link three or four times and then maybe you are sent to the correct URL.

I found a Firefox add-on called Redirect Bypasser that allows you to visit the correct URL. On a link it shows a little icon, and the little icon is linked to the good URL.

Categories: firefox Tags: ,

duplicate the current tab in Firefox

March 12, 2015 Leave a comment

Alt+d, then Alt+Enter (no need to release the Alt key)

Categories: firefox Tags:

Using several Firefox instances with different profiles

February 12, 2015 Leave a comment

If you want to use several Firefox instances with different profiles, read this post.

In short:

  • close Firefox
  • Start Firefox Profile Manager (firefox -P) and create a new profile. Give a specific name to the new profile, e.g. “NewProfile“.
  • Launch Firefox normally. It will start the default (old) profile.
  • Start another Firefox instance with the new profile: firefox -P NewProfile -no-remote

Get every new post delivered to your Inbox.

Join 88 other followers