NoScript Mobile interferes with Firefox reader view

Android-specific support, bug reports and feature requests.
BVoris
Posts: 6
Joined: Wed Dec 28, 2011 7:15 pm

NoScript Mobile interferes with Firefox reader view

Post by BVoris »

On pages where I see the reader (book) icon to the right of the URL, pressing the reader icon changes the URL to something beginning with "about:reader" and the reader icon changes color. But, a blank tab is displayed instead of the reader view. But, if I copy the "about:reader" URL and paste it into a new tab, the reader view displays correctly.

If I disable NoScript and kill Firefox, and open the original URL, reader view works as expected.

NoScript version 3.5a8
Firefox Beta version 38.0 and Firefox version 37.0.2

The problem does not happen with Palemoon 25.4 (sadly, now defunct). Reader view and NoScript also worked with older versions of Firefox.

Nexus 7 (original) with un-rooted, "from Play store" Android version 5.1.1 (the problem occurred with 5.1.0 too).

If I can, I'm happy to provide additional information.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.4) Gecko/20150507 Firefox/31.9 PaleMoon/25.4.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript Mobile interferes with Firefox reader view

Post by barbaz »

Try script-allowing about:reader ?
*Always* check the changelogs BEFORE updating that important software!
-
BVoris
Posts: 6
Joined: Wed Dec 28, 2011 7:15 pm

Re: NoScript Mobile interferes with Firefox reader view

Post by BVoris »

I dont know how to do that.. NoScript is not in the menu for Reader view tabs.
Mozilla/5.0 (Android; Tablet; rv:37.0) Gecko/37.0 Firefox/37.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: NoScript Mobile interferes with Firefox reader view

Post by Thrawn »

You can still access the NoScript Options (via the Tools menu, etc), then go to the Whitelist tab.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
BVoris
Posts: 6
Joined: Wed Dec 28, 2011 7:15 pm

Re: NoScript Mobile interferes with Firefox reader view

Post by BVoris »

I see no tabs in about:addons.
Mozilla/5.0 (Android; Tablet; rv:37.0) Gecko/37.0 Firefox/37.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: NoScript Mobile interferes with Firefox reader view

Post by Thrawn »

Who said anything about tabs on about:addons?

You can reach the NoScript options dialog via Tools-Addons-Extensions-NoScript-Preferences button. That dialog has a Whitelist tab.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
emarkp
Posts: 5
Joined: Thu May 14, 2015 4:17 pm

Re: NoScript Mobile interferes with Firefox reader view

Post by emarkp »

Same problem here (also 3.5a8, FF 38.0). There is no 'Preferences' button I can find. When I navigate Tools->Addons->Noscript I see:

OPTIONS
Permissions Preset
(choose Easy Blacklist, Click To Play, Classic Whitelist, Full Protection, Custom)

Of those permissions, "Custom" is grayed out. The only other buttons I see are "Reset" and then the standard Addon "Disable / Uninstall" at the bottom.

This is on a 4" screen, no difference in landscape / portrait.

I see no way to manually enter sites to whitelist.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: NoScript Mobile interferes with Firefox reader view

Post by Thrawn »

Oh, I'm sorry; I overlooked the fact that this is NoScript mobile. Yeah, the interface is much more limited - and it's still alpha.

NSA is restartless, so you shouldn't need to restart Firefox after disabling it?
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
emarkp
Posts: 5
Joined: Thu May 14, 2015 4:17 pm

Re: NoScript Mobile interferes with Firefox reader view

Post by emarkp »

Yes, no restart is required. It's cumbersome however to disable/enable each time you want to use the reader feature.

Is there any way on android to explicitly edit the whitelist? I can't find it on the local filesystem, so I assume it's in the app-specific sqlite db, but I can't find it.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: NoScript Mobile interferes with Firefox reader view

Post by Thrawn »

Sorry, I couldn't say. On desktop NoScript, it's stored in preferences (about:config), but I'm not sure about NSA.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
noz
Posts: 2
Joined: Fri May 15, 2015 9:05 am

Re: NoScript Mobile interferes with Firefox reader view

Post by noz »

It's in about:config, extensions.nsa.policy.

It's also in prefs.js in the profile: /data/data/org.mozilla.firefox/files/mozilla

Try to add this to the trusted list:

Code: Select all

,"about:reader":1
Mozilla/5.0 (Android; Mobile; rv:38.0) Gecko/38.0 Firefox/38.0
emarkp
Posts: 5
Joined: Thu May 14, 2015 4:17 pm

Re: NoScript Mobile interferes with Firefox reader view

Post by emarkp »

Attempted, no dice. It could be related to how the URL is presented as "about:reader?url=http%3A%2F%2F" so the url is actually a parameter to the protocol. Or not.

If I disable lastpass (which requires restart) as a way to restart the browser with all the tabs in place, when I select the reader tab, it *is* rendered correctly (with or without the "about:config" whitelist entry).
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: NoScript Mobile interferes with Firefox reader view

Post by Thrawn »

So...having either NoScript or LastPass is enough for it to be broken? Sounds like it's not a whitelist issue.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
noz
Posts: 2
Joined: Fri May 15, 2015 9:05 am

Re: NoScript Mobile interferes with Firefox reader view

Post by noz »

The way i understand it is he disabled Lastpass just to be able to restart but keep the opened tabs for the new session.
It isn't linked to the reader problem (that i can't reproduce with noscript active...)
Mozilla/5.0 (Android; Mobile; rv:38.0) Gecko/38.0 Firefox/38.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript Mobile interferes with Firefox reader view

Post by barbaz »

@emarkp: please try disabling some other restart-required extension to restart, leaving Lastpass enabled, to confirm for sure that Lastpass isn't part of the issue.
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply