inject content script to dead pages after reload/upgrade extension.
If you ever worked on a chrome extension... You must have got tired of Ctrl+F5 reloading the webpage again and again... before getting extension to work Here I make this demo, which includes source code ,a demo interface , also a guide on how to use this source code for your own extension code.
------------------------------------------------------ Actively inject content script after reloading extension.
So chrome extension ...elopers do not have to ctrl+f5 reload the webpage before getting extension work!
But be careful, the content script left by last version extension still works, ...so there will be 2 content script, old and new one before you reload the webpage, If the old content script does not annoy you , also it does not overwrite new affects, and all you want is to see the affect of new content script immediately, then this might be a choice.
#### Notice1 This is only used for developer convenience.
For product, please delete these codes, and delete unnecessary permissions for security.
#### Notice2: force inject is not needed in product version An important excerpt about OnUpdateAvailable from the developer docs says: " Fired when an update is available, but isnt installed immediately because the app is currently running.
If you do nothing, the update will be installed the next time the background page gets unloaded, if you want it to be installed sooner you can explicitly call chrome.runtime.reload().
Inject CUE demo content into a website
This extension help improve speed to select items
Spoof your location data and user agent.
The login for the app is the following: Username: demo Password: demo If you are getting no page after logging in click on the…
Inject your Javascript into the webpage
An extension to help you gain full control of any website by redirecting traffic, replacing, editing, or inserting new content.
1.webpage adapt browser size; 2.change user-agent; 3.Inject javescript & stylesheet 4.find m3u8 links
Allows you to run a content script (javascript) on the page you are browsing. Click the icon to edit the content script. By…
Developing javascript typescript sass and css PageMod and inject to any web page(by url pattern)
Extension to assist qTest Explorer application to capture web pages on Google Chrome browser