Where are NoScript options?
- Lucas Malor
- Senior Member
- Posts: 71
- Joined: Tue Nov 09, 2010 2:01 pm
- Contact:
Where are NoScript options?
If I search "noscript" in about:config, I get no results.
Where the NoScript preferences are stored now?
Where the NoScript preferences are stored now?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Re: Where are NoScript options?
…\profile\storage-sync.sqlite
…\profile\browser-extension-data\{73a6fe31-595d-460b-a920-fcc0f8843232}\storage.js
Click "Export" -> noscript_data.txt
…\profile\browser-extension-data\{73a6fe31-595d-460b-a920-fcc0f8843232}\storage.js
Click "Export" -> noscript_data.txt
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 SM/2.38 NS/2.9.0.12
Re: Where are NoScript options?
storage-sync.sqlite
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; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5
- Lucas Malor
- Senior Member
- Posts: 71
- Joined: Tue Nov 09, 2010 2:01 pm
- Contact:
Re: Where are NoScript options?
Mh. And what if I want to change manually I NoScript option? Can I edit storage.js or must I edit the sqlite db?
This is due to the Firefox update?
This is due to the Firefox update?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Re: Where are NoScript options?
> Can I edit storage.js…
Yes
… or must I edit the sqlite db?
After editing storage-sync.sqlite in Notepad++ — UNTRUSTED and CUSTOM are missing.
After editing storage-sync.sqlite in SQLiteDatabaseBrowserPortable — everything is fine.
It is better to edit noscript_data.txt and click "Export".
UPD: "Import", sorry.
Yes
… or must I edit the sqlite db?
After editing storage-sync.sqlite in Notepad++ — UNTRUSTED and CUSTOM are missing.
After editing storage-sync.sqlite in SQLiteDatabaseBrowserPortable — everything is fine.
It is better to edit noscript_data.txt and click "
UPD: "Import", sorry.
Last edited by fatboy on Sun May 19, 2019 2:07 pm, edited 1 time in total.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 SM/2.38 NS/2.9.0.12
- Lucas Malor
- Senior Member
- Posts: 71
- Joined: Tue Nov 09, 2010 2:01 pm
- Contact:
Re: Where are NoScript options?
I have no storage.js, but a storage.js.migrated. I think I could create a storage.js but it seems to me not safe.
Editing a sqlite db only to change preferences? Absurd. This is a choice of Maone of a choice of Firefox?
This seems to me the simpler option, even if I'm forced to trust the developer that he exports all the settings.
Anyway, I remember that NoScript had a lot of hidden features, really interesting. Where they are gone?
Well, you're lucky...
Offtopic: I suggest you Atom instead of Notepad++ and DBeaver instead of SQLiteDatabaseBrowserPortable
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Re: Where are NoScript options?
So what, that is only a "backup" of pre-existing NoScript 5 data (if it existed at all), that is used, once (or maybe after a NoScript Reset?), to import into NoScript 10 ?…\profile\browser-extension-data\{73a6fe31-595d-460b-a920-fcc0f8843232}\storage.js
And after that, it's essentially immaterial?
Well the fact that extensions cannot store their prefs in prefs.js, is Mozilla.choice of Maone of a choice of Firefox?
So then you have to work with the constructs that Mozilla (Quantum) allows.
I imagine that there may be several methods to accomplish that (?), but which, would be chosen by Maone.
I believe the "expected" way to do that would be through:Editing a sqlite db only to change preferences? Absurd.
NoScript | Options -> Advanced --> Debug (ugly)
(The expected way, Mozilla way, is that you can't do that!)
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; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5
Re: Where are NoScript options?
NoScript 10 stores its data through chrome.storage.sync API, which uses storage-sync.sqlite as its backend.
The storage.js was the old backend of chrome.storage.local, which IIRC NoScript falls back to if chrome.storage.sync is not available. Starting with Firefox 66, chrome.storage.local is migrated to an IndexedDB-based backend - viewtopic.php?f=18&t=25102
The storage.js was the old backend of chrome.storage.local, which IIRC NoScript falls back to if chrome.storage.sync is not available. Starting with Firefox 66, chrome.storage.local is migrated to an IndexedDB-based backend - viewtopic.php?f=18&t=25102
Not implemented yet.Lucas Malor wrote: ↑Sun May 19, 2019 1:46 pm I remember that NoScript had a lot of hidden features, really interesting. Where they are gone?
*Always* check the changelogs BEFORE updating that important software!
-
- Lucas Malor
- Senior Member
- Posts: 71
- Joined: Tue Nov 09, 2010 2:01 pm
- Contact:
Re: Where are NoScript options?
Oh my god... this is a nonsense. "Improved startup time"? For few lines of JSON? So why Linux continues to use plain old text files for preferences, mh?barbaz wrote: ↑Sun May 19, 2019 2:49 pmStarting with Firefox 66, chrome.storage.local is migrated to an IndexedDB-based backend - viewtopic.php?f=18&t=25102
Firefox is SLOW because it's also written in Javascript in some of its core parts. Chromium is fast because is primarily written in C++. Until Mozilla Devs will not show the tragic truth, and will start to rewrite the bottlenecks in Rust, they can play with extensions and make the life difficult to everyone, users and extension developers, but they will never reach the speed of Chromium.
The ONLY reason I don't switched to Chromium is NoScript and the fact you can disable CSS files on-the-fly. But there will be the time someone will write NoScript for Chromium...
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Re: Where are NoScript options?
NoScript now also works in Chromium...The ONLY reason I don't switched to Chromium is NoScript and
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; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5
- Lucas Malor
- Senior Member
- Posts: 71
- Joined: Tue Nov 09, 2010 2:01 pm
- Contact:
Re: Where are NoScript options?
Oh. But I remember Maone wrotes that there was some big problems with the Chromium APIs, and a true blocking of JS was not possible. Something is changed in the meanwhile? NoScript on Chrome is effective as NoScript on Firefox?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Re: Where are NoScript options?
They should be equally effective. NoScript for Chromium just has fewer features, e.g. missing XSS filter, because Chromium has more limited WebExtensions APIs than Firefox.
*Always* check the changelogs BEFORE updating that important software!
-
- Lucas Malor
- Senior Member
- Posts: 71
- Joined: Tue Nov 09, 2010 2:01 pm
- Contact:
Re: Where are NoScript options?
Mmmrf... I'll check any NoScript update to see if Chromium devs has added an API for XSS. For now I'll remain with Fx. For now...
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Re: Where are NoScript options?
The time has already come. The guy who wrote NoScript for Chromium is Giorgio Maone and the Chrome version can be found here.Lucas Malor wrote: ↑Sun May 19, 2019 3:44 pm But there will be the time someone will write NoScript for Chromium...
The Chrome version misses XSS protection, though.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
- Lucas Malor
- Senior Member
- Posts: 71
- Joined: Tue Nov 09, 2010 2:01 pm
- Contact:
Re: Where are NoScript options?
No XSS, no Chromium
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0