Page 1 of 1
[RESOLVED] NoScript causes whitelisted site to not work
Posted: Sun Mar 29, 2015 3:58 pm
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.
Re: NoScript causes whitelisted site to not work
Posted: Sun Mar 29, 2015 4:38 pm
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)
Re: NoScript causes whitelisted site to not work
Posted: Thu Apr 09, 2015 11:33 pm
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

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
Re: NoScript causes whitelisted site to not work
Posted: Thu Apr 09, 2015 11:48 pm
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$
Re: NoScript causes whitelisted site to not work
Posted: Fri Apr 10, 2015 10:15 pm
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.
Re: NoScript causes whitelisted site to not work
Posted: Wed Apr 15, 2015 1:47 am
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!?
Re: NoScript causes whitelisted site to not work
Posted: Wed Apr 15, 2015 3:17 am
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?
Re: [RESOLVED] NoScript causes whitelisted site to not work
Posted: Thu Apr 16, 2015 3:52 am
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.
Re: [RESOLVED] NoScript causes whitelisted site to not work
Posted: Thu Apr 16, 2015 4:01 am
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.
Re: NoScript causes whitelisted site to not work
Posted: Thu Apr 16, 2015 6:41 pm
by Guest
That seems to do it.
I also have over a thousand prefs-####.js of length 0.
Re: NoScript causes whitelisted site to not work
Posted: Thu Apr 16, 2015 7:13 pm
by barbaz
Guest wrote:That seems to do it.
Great!
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.