resolving issues with web page functionality when using NS

Ask for help about NoScript, no registration needed to post
ginahoy
Senior Member
Posts: 64
Joined: Tue Feb 07, 2012 6:32 pm

resolving issues with web page functionality when using NS

Post by ginahoy »

Having marked hundreds if not thousands of script server sites as untrusted over the years, I occasionally encounter problems with functionality of a desirable webpage. If there are no pending scripts listed in Noscript, I open the Untrusted list. If it's a long list, I temporarily "Allow Scripts Globally" to quickly determine of the problem is related to NS. If that doesn't resolve the problem, I assume it must be something else and I fiddle with one of my other add-ons or try a different browser.

What I failed to realize until recently is that "Allow Scripts Globally" doesn't override Untrusted sites. I guess it makes sense that it wouldn't.

Now when I encounter a non-functioning web page and there are no pending scripts, I disable NS from the Firefox Add-ons menu, which requires restarting the browser. If that resolves the problem then I restart with NS enabled and "Temporarily Allow" the Untrusted sites one at a time until I discover which one(s) are needed for the current page to function. Then I have to permanently allow them. Often the Untrusted list is long, so I save some time by starting with sites that look promising, or at least skip the ones (like twitter and facebook) that are unlikely to be needed.

Am I missing something here or is this the most efficient way to deal with a non-functioning web page? For example, is there a way to quickly isolate the problem to Noscript (such as a temporary override of the Untrusted list) without having to disable Noscript and restart Firefox?

Thanks
Last edited by ginahoy on Sun Dec 13, 2015 5:58 pm, edited 1 time in total.
Mozilla/5.0 (Windows NT 5.1; rv:42.0) Gecko/20100101 Firefox/42.0
User avatar
therube
Ambassador
Posts: 7979
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: resolving issues with web page functionality when using

Post by therube »

Only thing I"ll say is that "Untrusting" does nothing more then simply Not Allowing a site to begin with, except when Untrusted, the domain no longer shows up as one to Allow.

The way you're doing things, & not saying it is right or not, puts you in a conundrum in a situation as you describe.

Don't know a way around it.


Maybe if there were a Temporarily Disable Untrusted (TDU).
Then you do that & those domains then show up as being able to be Temporarily Allowed.
Undo TDU & those same domains are back on Untrusted?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39
barbaz
Senior Member
Posts: 11142
Joined: Sat Aug 03, 2013 5:45 pm

Re: resolving issues with web page functionality when using

Post by barbaz »

Untrusted means that you NEVER want to allow the site under any circumstances whatsoever; having the ability to blanket override this makes no sense. Also there is so much more to NoScript that can cause issues than just some site being on the Untrusted list, disabling the whole addon for troubleshooting makes sense as the first step.

Plus depending what the Untrusted site is, making a surrogate script for it might be the "actual" solution.

You might want to read through viewtopic.php?f=10&t=20761
*Always* check the changelogs BEFORE updating that important software!
-
ginahoy
Senior Member
Posts: 64
Joined: Tue Feb 07, 2012 6:32 pm

Re: resolving issues with web page functionality when using

Post by ginahoy »

Thanks for the prompt reply. The 'TDU' feature you describe is pretty much what I had in mind. But the most time consuming part is the not the initial disabling of NS to isolate a problem, so I'm not pushing to make this a new feature. I just wanted to make sure I'm using NS to its full capability. I've been known to waste time for not fully understanding the tools I use ;)
Mozilla/5.0 (Windows NT 5.1; rv:42.0) Gecko/20100101 Firefox/42.0
barbaz
Senior Member
Posts: 11142
Joined: Sat Aug 03, 2013 5:45 pm

Re: resolving issues with web page functionality when using

Post by barbaz »

ginahoy wrote:I've been known to waste time for not fully understanding the tools I use ;)
I think we all have done that at some point.. I mean, like in a http://xkcd.com/763/ type way. ;)
*Always* check the changelogs BEFORE updating that important software!
-
ginahoy
Senior Member
Posts: 64
Joined: Tue Feb 07, 2012 6:32 pm

Re: resolving issues with web page functionality when using

Post by ginahoy »

Uh-huh. Exactly.
Mozilla/5.0 (Windows NT 5.1; rv:42.0) Gecko/20100101 Firefox/42.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: resolving issues with web page functionality when using

Post by Thrawn »

barbaz wrote:Untrusted means that you NEVER want to allow the site under any circumstances whatsoever; having the ability to blanket override this makes no sense.
This.

If you might sometimes want to allow it, then it belongs on the regular menu.

However, for the purpose of investigating a site, rather than restarting Firefox, you can try starting a separate profile:

Code: Select all

firefox -profilemanager -new-instance -no-remote
That should launch a second copy of Firefox with the profile manager appearing first; you can create a new profile, install NoScript, and investigate the site, then close it and update your whitelist/blacklist in the original browser.
Last edited by barbaz on Mon Dec 14, 2015 12:46 am, edited 1 time in total.
Reason: Fix command line to work on current Fx
======
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:42.0) Gecko/20100101 Firefox/42.0
barbaz
Senior Member
Posts: 11142
Joined: Sat Aug 03, 2013 5:45 pm

Re: resolving issues with web page functionality when using

Post by barbaz »

@Thrawn:
The command line you had posted does not work on current Firefox versions. Last I checked, -p is gone and -P requires an explicit profile name. Also it's likely needed to specify -new-instance if Firefox is already running, as -no-remote may not imply -new-instance anymore (?).

I have replaced it with a command line I *know* will work in current Firefox.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: resolving issues with web page functionality when using

Post by Thrawn »

Thanks.
======
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:42.0) Gecko/20100101 Firefox/42.0
Post Reply