Page 1 of 1

Customizing NoScript + changing manifest.mf

Posted: Fri Sep 09, 2011 11:04 am
by Esi
Hi everyone!

I'd like to customize Noscript and make some changes on it. but once i'm trying to install it on firefox i always get the "corruption" error. I think its bcoz of manfiest.mf and the 2 other files in META-INF folder.

i can see the MD5-digest values but how can i changes them in the proper manner?

here is my tracks:

1- exctracting .xpi with 7zip
2- extracting noscript.jar by 7zip and make some change on .xul files
3- compressing contents of chrome folder to noscript.zip then rename it to .jar
4- finally make a zip file and then xpi from the all contents

PLease do advice me to know how can i modify the files and finally change the META-INFO files?

thanks alot

Re: Customizing NoScript + changing manifest.mf

Posted: Fri Sep 09, 2011 2:38 pm
by therube
> I think its bcoz of manfiest.mf and the 2 other files in META-INF folder

Correct, Author verification.

Looks like he's using "Signtool" to sign.
Don't know what's involved?

Signing a XPI

Anyway, you could just do a little snipping, then it just wouldn't be signed at all anymore ;-).
(Might then have to set a pref in FF, perhaps, extensions.checkUpdateSecurity, not sure?)

Re: Customizing NoScript + changing manifest.mf

Posted: Sat Sep 10, 2011 12:00 am
by al_9x
Esi wrote:PLease do advice me to know how can i modify the files and finally change the META-INFO files?
You don't need to sign your modifications, just remove META-INF.

Re: Customizing NoScript + changing manifest.mf

Posted: Sat Sep 10, 2011 11:20 am
by Esi
Thank you SO much dear therube and al_9xI

I removed META-INF then made a .jar file from CHROME folder content.

Now i dont have problem on that issue ;)

Re: Customizing NoScript + changing manifest.mf

Posted: Sat Sep 10, 2011 1:14 pm
by dhouwn
Just out of curiosity, what customisations did you do and with what goal?

Interestingly, there was already an tentative fork (after an idea by RMS) and then there are also some add-ons like HTTPS Everywhere that reuse code from NoScript.

Re: Customizing NoScript + changing manifest.mf

Posted: Sun Sep 11, 2011 9:57 am
by Esi
thanks for your links, but at this time i just want to make it smaller and hopefully go back to the traditional ClearClick :D

Actually i just need the clickjacking protection of noscript. so i should precisely remove the extra features. :o

That's my short-term goal.