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

GO: Serve static pages -

java - how to parse a JSON string into ObjectNode in Jackson? -

objective c - How to open front/back camera at the same time in iOS developing? -