javascript - chrome extension problems in content_script -


I have my Main.js file in content_scripts Main.js file provides a button and when user clicks HTML page reloaded with reloading the html page.
But when the user clicks the button a second time, the button is not working as the last few values, where the button was clicked for the first time while it was set.

There is no way in Chrome from Main.js, automatically loaded or executed as a fresh script on every click.


Windows.onload methos is not working on my main.js file, so how do i solve it

It is not possible that you Location.reload function


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -