Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Clear the cache

Post Reply
dilfich
Posts: 330
Joined: Thu Nov 30, 2017 1:17 am

Clear the cache

Post 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?
User avatar
salvadordf
Posts: 4047
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Clear the cache

Post 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?
dilfich
Posts: 330
Joined: Thu Nov 30, 2017 1:17 am

Re: Clear the cache

Post 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
Post Reply