can't delete permanent from whitelist because of prefs.js

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

can't delete permanent from whitelist because of prefs.js

Post by Guest »

so my prefs.js ended up with

user_pref("capability.policy.maonoscript.sites", "about: about:blocked about:certerror about:config about:neterror about:plugins about:privatebrowsing about:sessionrestore chrome: http://www.youtube.com resource:");

and I would go to noscript options and delete youtube from the list whitelist, but upon restart, it would show up again

now i'm a smart cookie and edited prefs.js manually , but if noscript can't affect prefs.js, it shouldn't lie and let me believe i'm actually deleting an entry -- annoying :)

thank you
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: can't delete permanent from whitelist because of prefs.js

Post by Giorgio Maone »

Guest wrote:and I would go to noscript options and delete youtube from the list whitelist, but upon restart, it would show up again
Did you actually delete "http://www.youtube.com" (I mean, not "youtube.com" or "www.youtube.com")?
Did you hit the "OK" button in the NoScript Options dialog before restarting the browser?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Guest

Re: can't delete permanent from whitelist because of prefs.js

Post by Guest »

Giorgio Maone wrote:
Guest wrote:and I would go to noscript options and delete youtube from the list whitelist, but upon restart, it would show up again
Did you actually delete "http://www.youtube.com" (I mean, not "youtube.com" or "www.youtube.com")?
Did you hit the "OK" button in the NoScript Options dialog before restarting the browser?
Yes, I actually deleted "http://www.youtube.com" and hit ok.
Before restarting, I opened options/whitelist again and "http://www.youtube.com" was gone,
but after restarting it had came back.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: can't delete permanent from whitelist because of prefs.js

Post by Giorgio Maone »

Guest wrote:Yes, I actually deleted "http://www.youtube.com" and hit ok.
Before restarting, I opened options/whitelist again and "http://www.youtube.com" was gone,
but after restarting it had came back.
Did you have the prefs.js file opened in an editor or the like?
On a side note, please notice that actually persisting the preferences to prefs.js is Firefox's responsibility, not NoScript's, so if it didn't happen and you weren't locking the file you should likely file a bug report in Mozilla's tracker.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: can't delete permanent from whitelist because of prefs.js

Post by GµårÐïåñ »

Couple of suggestions. 1) Are you editing the prefs.js file while your browser is open? If so then it will be overwritten the minute you close the browser, your changes are NOT permanent. I recommend using the about:config to edit them. 2) Do you by any chance have allow temporarily by default checked in NS, this would allow something automatically, even if not added to the list. If so, I recommend you uncheck that or explicitly blacklist it. Otherwise, NS settings are "USUALLY" except in rare cases for certain things, are immediate and often persist after restart.

The recommendations are based on having seen this exact same complaint in the past from someone who was doing the above two and once corrected it, it worked like a charm. If that's not your case, then perhaps a bit more information about the exact steps YOU take to reproduce the problem and some extension and environment information for your profile might be needed to help pin point the problem, if any.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7
Guest

Re: can't delete permanent from whitelist because of prefs.js

Post by Guest »

Giorgio Maone wrote:
Guest wrote:Yes, I actually deleted "http://www.youtube.com" and hit ok.
Before restarting, I opened options/whitelist again and "http://www.youtube.com" was gone,
but after restarting it had came back.
Did you have the prefs.js file opened in an editor or the like?
On a side note, please notice that actually persisting the preferences to prefs.js is Firefox's responsibility, not NoScript's, so if it didn't happen and you weren't locking the file you should likely file a bug report in Mozilla's tracker.
No, I absolutely did not have prefs.js opened in an editor. It happened again, for some reason, magically, all the sites I had temporarily enabled got saved into prefs.js. I think it might have to do with starting private browsing mode
ctrl+shift+p, I'll experiment some more and see if I can narrow it down.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: can't delete permanent from whitelist because of prefs.js

Post by Giorgio Maone »

Guest wrote:I think it might have to do with starting private browsing mode
During private browsing mode nothing is saved in prefs.js or anywhere else, so yes, it is possible.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Guest

Re: can't delete permanent from whitelist because of prefs.js

Post by Guest »

I haven't been able to figure out how to trigger this. Sometimes I can remove permanently , sometimes I can't...
I don't even know why it gets added permanently since I've disabled those menu options (i only have temporarily allow).

I hope no one else is experiencing this, I'm content batchfile overwriting my prefs.js :)

Thanks
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Guest

Re: can't delete permanent from whitelist because of prefs.js

Post by Guest »

youtube got magically added again (was able to delete).
what happened, regular browsing, temp add youtube,
switch to private browsing, 2-4 hour browsing session,
shut down, start again and bam, youtube in perm whitelist

weird
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Post Reply