ghost options

Ask for help about NoScript, no registration needed to post
threedots
Posts: 1
Joined: Thu Jul 11, 2013 1:27 pm

ghost options

Post by threedots »

Hello,

What is the corresponding code to the following preference names in "about:config"?
- noscript.showGlobal
- noscript.globalwarning

What is the corresponding "about:config" preference name to the following GUI option?
- NoScript Options: General: "Scripts Globally Allowed (dangerous)"

What is the corresponding NoScript code (in components/noscriptService.js or else) to the following GUI option?
- NoScript Options: General: "Scripts Globally Allowed (dangerous)"

Thank you.
Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0
User avatar
therube
Ambassador
Posts: 7991
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: ghost options

Post by therube »

Just to note, not all Prefs will have a corresponding GUI entry.

IMO the best place to start searching for meaning is, http://noscript.net/changelog.
Not everything will be found there but it is easy to do a quick search (FAYT) to see if it is or is not. (showGlobal, not, globalwarning, yes).

For finding what GUI option affects which Pref, I'll usually make a copy of prefs.js, toggle the GUI item in question, then compare the original prefs.js to the current. That should point it out in short order.
(A file manager with built-in comparator is a great help.)
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:24.0) Gecko/20100101 SeaMonkey/2.21a2
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: ghost options

Post by Thrawn »

threedots wrote:Hello,

What is the corresponding code to the following preference names in "about:config"?
- noscript.showGlobal
- noscript.globalwarning
Couldn't tell you what line of code it is, but 'showGlobal' probably controls whether that option appears on the menu, and 'globalwarning' would control whether you get a warning dialog when using it.
What is the corresponding "about:config" preference name to the following GUI option?
- NoScript Options: General: "Scripts Globally Allowed (dangerous)"
Probably noscript.global
What is the corresponding NoScript code (in components/noscriptService.js or else) to the following GUI option?
- NoScript Options: General: "Scripts Globally Allowed (dangerous)"
No idea. But if you know JavaScript enough to care, why not take a look?
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0
Post Reply