Reputation: 161
I am new to Firefox Addon world. I am creating an addon whose successful installations are track worthy for my business. I did not find any conclusive result from googling for one whole day so posting here. My specific requirement is, to Call an API URL and delete a cookie from browser after installation(One time, not everytime we run), If there is no privilege for one time, we can work it out, but definitely need to know how to fire API call after successful installation and in which file ?(contents.js, background.js, WHERE !!!). Help is appreciated.
Upvotes: 2
Views: 61
Reputation: 37268
Createa file named bootstrap.js
paste this: https://github.com/Noitidart/jamshri/blob/master/bootstrap.js
create a file named install.rdf: paste this: https://github.com/Noitidart/jamshri/blob/master/install.rdf
put in a icon sized 64x64 named icon.png
zip them all up, rename .zip to .xpi drag onto browser
or just download from here: https://github.com/Noitidart/jamshri
Upvotes: 1