I am trying to run a JavaScript code, something like this document.getElementById('someID').innerHTML = '';
in a web browser console. It works fine until the page is refreshed or redirected to another page. Soon after the page refreshes the console gets erased, and I have to manually run it again. Is there a way to run JavaScript code continuously in the browser console even after the page reloads, or is there any other way (externally from the browser console) to accomplish the above task?
How to run JavaScript code continously in browser console even after page reload
2.8k Views Asked by Naveen Yamparala At
2
You can try tamper monkey there are chrome and firefox versions https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en