Creating Custom XPI with imported Settings

Ask for help about NoScript, no registration needed to post
NK-MuP

Creating Custom XPI with imported Settings

Post by NK-MuP »

Hello dear community,

I want to deployNoScript using CCK2 in our business environment.
I have some settings in NoScript that I would like to use company-wide as well.
Is there a way to import thosesettings into a NoScript.xpi so I can load it into CCK2?

Help is appreciated!

With kindest regards,
Niklas
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Creating Custom XPI with imported Settings

Post by Thrawn »

I suppose you could alter defaults/preferences/noscript.js
======
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:45.0) Gecko/20100101 Firefox/45.0
NK-MuP

Re: Creating Custom XPI with imported Settings

Post by NK-MuP »

Thanks I found the directory youre suggesting.

It sounds like you don't approve of my method, can you care to elaborate?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: Creating Custom XPI with imported Settings

Post by barbaz »

Why do you need to modify the NoScript XPI to deploy custom settings? NoScript's settings are all just about:config prefs. Does "CCK2" not offer a way to deploy custom prefs?
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Creating Custom XPI with imported Settings

Post by Thrawn »

NK-MuP wrote:It sounds like you don't approve of my method, can you care to elaborate?
Well, you'd basically be maintaining a fork. NoScript updates quite frequently, and you'd have to merge your changes every time. Could be a lot of work for you.
======
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:45.0) Gecko/20100101 Firefox/45.0
Post Reply