Deploy with policies.json and define Settings #4515
-
With ublock it's possible to define some options and deploy system wide with:
Is this possible with tridactyl? I ask because i deploy tridactyl with
but every time i remove my browser profile i start at beginning with settings reset and annoying startup page i don't need. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It looks like uBlock is using a special API to read from policies.json: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/managed via And We would need to add more code to Tridactyl to support that. |
Beta Was this translation helpful? Give feedback.
-
Very, very interesting stuff indeed.
I wasnt even aware this was possible with ublock origin. Or the mozilla "policies" and "manifestos" deployment thing. Really powerfull stuff. Really worth spending time with it. So much work to do just to safely grab a few bytes from some other place in the world with the "modern" web :-) Thanks for critkitten, for bringing this up, and bovine3dom for further insights. On Arch Linux you can get ublock and tridactyl as official packages. No need to setup addons for each new/fresh user. Saves you a trip to addons.mozilla.org. But you still have to do the dance of exporting old settings and reimporting them again. Somehow had never ocurred to me to check out their wiki, for this kind (and others) of advanced/enterprisy setup. A must read.for those of us for whom Firefox without ublock and tridactyl (and a hardened user.js) simply doesnt exist. This automated deployment in freshly installed new systems, or throwaway profiles is a dream. Having not only the software, but also all your prior stable customizations and decisions some how scripted, firing up the browser and not needing to go through the setup again is a huge time saver.
Hope there might be some progress in the future for that. |
Beta Was this translation helpful? Give feedback.
It looks like uBlock is using a special API to read from policies.json: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/managed
via
https://github.com/gorhill/uBlock/blob/fa5e4b7769c9759a588a4b842d79d3273c5756df/platform/common/vapi-background.js#L1323
And
https://github.com/gorhill/uBlock/blob/a77be2a17230a02692c4ab35a22156dade3bcdde/src/js/storage.js#L1312
We would need to add more code to Tridactyl to support that.