Page 1 of 1

Creating Custom XPI with imported Settings

Posted: Wed Jan 18, 2017 12:42 pm
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

Re: Creating Custom XPI with imported Settings

Posted: Wed Jan 18, 2017 9:56 pm
by Thrawn
I suppose you could alter defaults/preferences/noscript.js

Re: Creating Custom XPI with imported Settings

Posted: Thu Jan 19, 2017 8:14 am
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?

Re: Creating Custom XPI with imported Settings

Posted: Thu Jan 19, 2017 5:59 pm
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?

Re: Creating Custom XPI with imported Settings

Posted: Thu Jan 19, 2017 11:13 pm
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.