Customizing NoScript + changing manifest.mf

Ask for help about NoScript, no registration needed to post
User avatar
Esi
Posts: 3
Joined: Fri Sep 09, 2011 10:50 am
Location: Malaysia
Contact:

Customizing NoScript + changing manifest.mf

Post 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
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Customizing NoScript + changing manifest.mf

Post 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?)
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 5.1; rv:7.0) Gecko/20110905 Firefox/7.0 SeaMonkey/2.4
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: Customizing NoScript + changing manifest.mf

Post 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.
Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20100101 Firefox/7.0
User avatar
Esi
Posts: 3
Joined: Fri Sep 09, 2011 10:50 am
Location: Malaysia
Contact:

Re: Customizing NoScript + changing manifest.mf

Post 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 ;)
Mozilla/5.0 (Windows NT 6.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Customizing NoScript + changing manifest.mf

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0
User avatar
Esi
Posts: 3
Joined: Fri Sep 09, 2011 10:50 am
Location: Malaysia
Contact:

Re: Customizing NoScript + changing manifest.mf

Post 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.
Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20100101 Firefox/6.0
Post Reply