I need a chrome extension and a firefox extension both will need permissions to access all data on all websites the user visits.
The extensions will replace an a specific java script
if the website visited by user contains
then the extension will replace the script above to the following:
Those codes needs to be loaded from an external file on my site. So that way I can change the codes whenever I like. (I accept suggestions on this feature, auto-update maybe could work [url removed, login to view] )
finally the extension needs to load an specific url, just 1 time (could be a 24 hours cookie) and into background. This will be only if the user is visiting my site.