[RESOLVED] NoScript causes whitelisted site to not work

Ask for help about NoScript, no registration needed to post
Guest

[RESOLVED] NoScript causes whitelisted site to not work

Post by Guest »

mynycb.com site fails at login of user id even though site is white listed.
The site says to clear the cache even of the cache has been cleared.
If NoScript is disabled login proceeds normally.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript causes whitelisted site to not work

Post by barbaz »

When it fails, do you see anything related in the Browser Console? (Ctrl-Shift-J)
(if you don't know what's related, turn off CSS warnings and post everything else you see)
*Always* check the changelogs BEFORE updating that important software!
-
Guest

Re: NoScript causes whitelisted site to not work

Post by Guest »

Here is the log when the submit button is pressed.

IndexSizeError: Index or size is negative or greater than the allowed amount client.js:7:0
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/ init.debug.js:1404:0
[NoScript XSS] Sanitized suspicious upload to [https://secure.mynycb.com/forms/login.jsp###DATA###% ...Login code string deleted...
nsIJSON.encode is deprecated. Please use JSON.stringify instead. ssl-observatory.js:608:0
TypeError: value is not a non-null object tabbrowser.xml:430:17
JavaScript 1.6's for-each-in loops are deprecated; consider using ES6 for-of instead ScriptSurrogate.js:345:209
lpmanuallogins.length is 0
TypeError: value is not a non-null object tabbrowser.xml:430:17
lpmanuallogins.length is 0
TypeError: value is not a non-null object tabbrowser.xml:430:17
JavaScript 1.6's for-each-in loops are deprecated; consider using ES6 for-of instead ScriptSurrogate.js:345:209
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
User avatar
Giorgio Maone
Site Admin
Posts: 9546
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript causes whitelisted site to not work

Post by Giorgio Maone »

Please try adding the following line to your NoScript Options|Advanced|XSS exceptions box:

Code: Select all

^https://secure\.mynycb\.com/forms/login\.jsp$
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
Guest

Re: NoScript causes whitelisted site to not work

Post by Guest »

Thanks
That seemed to work.
That line was 1000 characters long in the error log.

That site was totally uninterested in the problem and has always had all sorts of JS strangeness.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
Guest

Re: NoScript causes whitelisted site to not work

Post by Guest »

Giorgio Maone wrote:Please try adding the following line to your NoScript Options|Advanced|XSS exceptions box:

Code: Select all

^https://secure\.mynycb\.com/forms/login\.jsp$
I paste into the box and it works but it forgets it when I close FIrefox!?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript causes whitelisted site to not work

Post by barbaz »

Guest wrote:I paste into the box and it works but it forgets it when I close FIrefox!?
Do other NoScript preference changes persist?
What about any other preference changes at all?
*Always* check the changelogs BEFORE updating that important software!
-
Guest

Re: [RESOLVED] NoScript causes whitelisted site to not work

Post by Guest »

I tried turning off the "Turn cross-post..." option and it also was reset to on upon reloading Firefox.

I made my changes and exported them to a file.
On reloading Firefox, I then imported them. OK
Restarting Firefox again, everything was reset to default on the XXS tab.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: [RESOLVED] NoScript causes whitelisted site to not work

Post by barbaz »

Removing [RESOLVED] from the title.

Are you running Firefox in a sandbox?
Do you have a user.js or lockpref file?

If no and no and no, maybe try this:
1) Completely shut down Firefox
2) Open prefs.js in a text editor
3) Copy the *entire* contents
4) paste into a new file, save this new file somewhere outside the profile, name it "prefs.js"
5) rename the prefs.js that's in your profile and remove it from your profile (if you can?)
6) move the newly created prefs.js into your profile

That should fix it if it's a file permission problem.

Does that help at all?
If not, are you running any software that might be messing with your profile? Likely culprits could include security software and certain kinds of "cleaning" software.
*Always* check the changelogs BEFORE updating that important software!
-
Guest

Re: NoScript causes whitelisted site to not work

Post by Guest »

That seems to do it.
I also have over a thousand prefs-####.js of length 0.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript causes whitelisted site to not work

Post by barbaz »

Guest wrote:That seems to do it.
Great! Image
Guest wrote:I also have over a thousand prefs-####.js of length 0.
Yep, anything like that is a sure sign of a file permissions problem.
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply