It is necessary to programmatically disable data caching on the page.
Now when refreshing the page via F5, the entered text remains in the text fields, and I need to return to the original.
This needs to be done programmatically via the browser extension on those pages on which this extension is launched.
The site is corporate, I do not have access to it. Everything should be done in the browser extension.
Any ideas?
.
I tried to achieve this through meta tags, adding time to the address and through service workers – no result was achieved.
The workers, it seems, did not start at all due to unsafe code.
Now there is a temporary solution – I created a separate button on the page that executes the following code:
window.location.href = window.location.href;
It works, but I do not like that a separate button is created for this.
5