Skip to content

Instantly share code, notes, and snippets.

@d-schmidt
Last active February 4, 2021 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d-schmidt/73f6101615b17c12ad90a6f2b9306bad to your computer and use it in GitHub Desktop.
Save d-schmidt/73f6101615b17c12ad90a6f2b9306bad to your computer and use it in GitHub Desktop.
clear current (filtered) chrome history page using F12 console
// copy paste and enter to clear current page
for (i = 0; i < 150;i++) document.getElementById("checkbox-" + i).checked = true;
document.getElementById("remove-selected").disabled = false;
document.getElementById("remove-selected").click();
document.getElementById("alertOverlayOk").click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment