Page 1 of 2
NoScript Mobile interferes with Firefox reader view
Posted: Fri May 08, 2015 6:38 pm
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.
Re: NoScript Mobile interferes with Firefox reader view
Posted: Fri May 08, 2015 7:36 pm
by barbaz
Try script-allowing about:reader ?
Re: NoScript Mobile interferes with Firefox reader view
Posted: Sat May 09, 2015 6:34 pm
by BVoris
I dont know how to do that.. NoScript is not in the menu for Reader view tabs.
Re: NoScript Mobile interferes with Firefox reader view
Posted: Mon May 11, 2015 12:35 am
by Thrawn
You can still access the NoScript Options (via the Tools menu, etc), then go to the Whitelist tab.
Re: NoScript Mobile interferes with Firefox reader view
Posted: Mon May 11, 2015 5:18 am
by BVoris
I see no tabs in about:addons.
Re: NoScript Mobile interferes with Firefox reader view
Posted: Wed May 13, 2015 3:37 am
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.
Re: NoScript Mobile interferes with Firefox reader view
Posted: Thu May 14, 2015 4:51 pm
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.
Re: NoScript Mobile interferes with Firefox reader view
Posted: Thu May 14, 2015 11:13 pm
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?
Re: NoScript Mobile interferes with Firefox reader view
Posted: Thu May 14, 2015 11:45 pm
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.
Re: NoScript Mobile interferes with Firefox reader view
Posted: Fri May 15, 2015 1:03 am
by Thrawn
Sorry, I couldn't say. On desktop NoScript, it's stored in preferences (about:config), but I'm not sure about NSA.
Re: NoScript Mobile interferes with Firefox reader view
Posted: Fri May 15, 2015 9:21 am
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:
Re: NoScript Mobile interferes with Firefox reader view
Posted: Fri May 15, 2015 3:31 pm
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).
Re: NoScript Mobile interferes with Firefox reader view
Posted: Sat May 16, 2015 11:45 am
by Thrawn
So...having either NoScript or LastPass is enough for it to be broken? Sounds like it's not a whitelist issue.
Re: NoScript Mobile interferes with Firefox reader view
Posted: Sat May 16, 2015 3:54 pm
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...)
Re: NoScript Mobile interferes with Firefox reader view
Posted: Sat May 16, 2015 3:57 pm
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.