3

I'm using Firefox and I like to use the distraction-free "reader view" when I'm reading some text.

My current process is right-click on a link, click in "Open in a new tab" and then click on the reader view like in the image below.

firefox reader view

Now, I want to find some way to open the new tabs in this mode automatically (when the site allows).

I intend to make it automatically, but I'm also open to some shortcut or even a extension, if necessary.

  • Firefox 43.0.4
0

1 Answer 1

4

I found the perfect solution

  1. add this extension Menu Wizard to your FireFox, and restart the browser.

Steps 2 to 6

  1. open Menu Wizard config page by clicking "Alt+Shift+M" on your keyboard or from the right click menu or by typing about:config-menu in the address bar.
  2. Expand Main Context Menu
  3. click on the add button (green plus icon)
  4. drag a new menu item from the right panel to the position you desire in the menu
  5. Click on the Properties of the New Menu Item

enter image description here

  1. set the Title to whatever you like to appear in the menu (e.g. Open Link in Reading Mode)
  2. paste this code in the Command > onCommand field:

    if (gContextMenu.onLink) {
          var selectedLink = gContextMenu.getLinkURL();
          var URL = "about:reader?url=" + selectedLink;
          var mytab = gBrowser.addTab(URL);
          gBrowser.selectedTab = mytab;
    }
    
  3. Click Ok button and exit the Menu Wizard config tab

All Done!

enter image description here

7
  • Just a side note. The solution works like a charm, but the Menu Wizard extension has a advertising system that can be annoying at times.
    – James
    Feb 1, 2016 at 18:45
  • 1
    after installation you're given the choice to opt in or out (I want to support the developer window) you must'v chosen the green option which enables ads. maybe there's a way to opt out or try reinstalling the extension and chose (don't support) when asked. Feb 1, 2016 at 19:05
  • 1
    just checked, go to Menu Wizard setting page > gear icon at the top > "Advertisement is enabled" Change status. does that remove the annoyance? Feb 1, 2016 at 19:08
  • Yes, it works! Thanks for the tip. if you can add this information in your answer, i think it'll help others with the same question than me. Help developers accepting the advertisements is a nice behavior, but sometimes this can be really annoying (like in work environment, for example). Thank you for all
    – James
    Feb 1, 2016 at 19:45
  • 1
    Can we have this functionality in middle mouse click button? If you can tell me some pointers, that would also be great! Thanks :)
    – q126y
    Oct 7, 2016 at 2:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .