I would like to make a bookmarklet to open the Chrome Chrome settings panel and clear the cache with one click.
For a while I had a bookmark that opened the Chrome settings panel with the "clear cache" setting already selected. After clicking on a bookmark (usually opening it in a new tab), I must then open the tab and submit the form. However, when developing this task, I have to do it quite often, and these few repetitive steps just seem unnecessary.
This link opens a page to clear one cache (obviously, only for Chrome users): chrome: // chrome / settings / clearBrowserData # cache
I recently discovered bookmarklets and thought it would be a good way to complete the task of clearing my cache with one click. However, I found that even a basic javascript example in the address bar when the settings page (link above) does not work.
For example, this works in the address bar on any given page, but not on the chrome settings page:
javascript:alert('hello stackoverflow');
Is there any way to execute javascript from the Chrome settings page? Are there any other options? I am looking for any way to achieve this goal and would like to know something along this path, even if it means doing some evil. :)
source share