How to export all surrogate lines from about:config?
How to export all surrogate lines from about:config?
There are a lot of noscript.surrogate[...] lines coming with noscript. I have no idea what their purpose is. Is there a possibility to export all about:config entries to a text file or maybe to reset all those lines in one go? Earlier versions of firefox came with a all.js file. But this file doesn't exits anymore.
Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0
Re: How to export all surrogate lines from about:config?
Those are the Surrogate Script.
If you want to batch reset all those lines, honestly I'd probably go the not-recommended route of completely quit Firefox and delete all noscript.surrogate.* lines out of prefs.js and user.js (if it exists). They will then be overwritten with the defaults when you next restart Firefox.
If you want to batch reset all those lines, honestly I'd probably go the not-recommended route of completely quit Firefox and delete all noscript.surrogate.* lines out of prefs.js and user.js (if it exists). They will then be overwritten with the defaults when you next restart Firefox.
*Always* check the changelogs BEFORE updating that important software!
-
Re: How to export all surrogate lines from about:config?
If you don't know about surrogate scripts already, then why would you have altered them (and thus need to reset them)?
======
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.
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:47.0) Gecko/20100101 Firefox/47.0
-
- Junior Member
- Posts: 49
- Joined: Wed Feb 20, 2013 1:49 pm
Re: How to export all surrogate lines from about:config?
On a related note, I can't actually see in the prefs.js files all the surrogate entries that are visible in about:config using the "surrogate" keyword in the search field.
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Re: How to export all surrogate lines from about:config?
Because prefs.js contains only user-set preferences. It doesn't contain any default preferences.johnscript wrote:On a related note, I can't actually see in the prefs.js files all the surrogate entries that are visible in about:config using the "surrogate" keyword in the search field.
about:config shows both default and user-set preferences.
If you want the surrogates preferences listing in the Mozilla preference file format, you can unzip the NoScript xpi and look inside the defaults/preferences/ directory.
*Always* check the changelogs BEFORE updating that important software!
-
Re: How to export all surrogate lines from about:config?
Yes, make your own *.xpi.barbaz wrote:If you want the surrogates preferences listing in the Mozilla preference file format, you can unzip the NoScript xpi and look inside the defaults/preferences/ directory.
In the meantime i've deleted all surrogates. 98% are - in my opinion - nonsense. But that's just my opinion.
Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0
Re: How to export all surrogate lines from about:config?
Your browser, your choice. Enjoy your broken websites or tracker-filled internetGuest wrote:In the meantime i've deleted all surrogates. 98% are - in my opinion - nonsense. But that's just my opinion.
*Always* check the changelogs BEFORE updating that important software!
-
Re: How to export all surrogate lines from about:config?
@Guest
If I understand correctly, you did not want "to reset all those lines", and you want to disable them.
Then you could use noscript.surrogate.enabled;false.
And if you do not want to use the default surrogates and use only custom surrogates,
you can export the NS settings to *.txt file and open it in Notepad ++.
To find ^("surrogate\.\S+\.sources":)".+",$
Replace on (\1)"",
If I understand correctly, you did not want "to reset all those lines", and you want to disable them.
Then you could use noscript.surrogate.enabled;false.
And if you do not want to use the default surrogates and use only custom surrogates,
you can export the NS settings to *.txt file and open it in Notepad ++.
To find ^("surrogate\.\S+\.sources":)".+",$
Replace on (\1)"",
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 SM/2.38 NS/2.9.0.12
Re: How to export all surrogate lines from about:config?
Thanks for this tip, but i would like to use my own surrogates. So this is not a option.fatboy wrote:@Guest
If I understand correctly, you did not want "to reset all those lines", and you want to disable them.
Then you could use noscript.surrogate.enabled;false.
Good tip, i will try it. Thanks.fatboy wrote:@Guest
And if you do not want to use the default surrogates and use only custom surrogates,
you can export the NS settings to *.txt file and open it in Notepad ++.
To find ^("surrogate\.\S+\.sources":)".+",$
Replace on (\1)"",
Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0