T
T
Ternick2020-01-22 23:24:54
JavaScript
Ternick, 2020-01-22 23:24:54

What to do with chrome?

There is a userscript that goes through the pages once in a certain amount of time. And then such a thing happens. Chrome already devours resources as if not in itself, but on my 4GB. You won't get far with his requests. The bottom line is that if the script is left, then chrome will devour more and more memory until the system starts to choke. It usually takes up 3.2 GB at the end. How to make a redirect so that chrome does not save anything from the last page?
Now I'm doing the redirect like this:

setTimeout(function (){document.location.href = "https://";}, 1500);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shohruh Shaimardonov, 2020-01-22
@joeberetta

You can write a chrome extension that uses the BrowsingData API to clear cookies/cache/etc. In order not to litter. Well, or

did not save anything from the last page

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question