Page 1 of 1

Clear the cache

Posted: Sat Aug 10, 2019 12:15 pm
by dilfich
Open chrome://net-internals

Execute the script

Code: Select all

document.getElementById('capture-status-view-actions').selectedIndex = 2;
document.getElementById('capture-status-view-actions').onchange();
The cache is cleared!
Is it possible to make a special procedure out of this?

Re: Clear the cache

Posted: Sat Aug 10, 2019 12:48 pm
by salvadordf
The page that I see when I load chrome://net-internals doesn't have any element with that ID.

I found this when I searched "capture-status-view-actions" in google :
https://chromium.googlesource.com/exper ... _view.html

It seems that the SELECT with the "capture-status-view-actions" id is only available in "capture mode".

How did you enable that mode?

Re: Clear the cache

Posted: Sat Aug 10, 2019 5:38 pm
by dilfich
Ohh sorry.. it works on 70 chrome to include nothing is necessary, on the more recent version and the truth of it is not present (((
But it is possible, there is this possibility in CEF, there is only or not known interface.

Image