Created: 2017-09-25 — modified: 2017-09-27 — tags: chromium
To remove, say, histroy of browing Facebook from work computer.
As a follow-up for similar post about Opera browser, here are instructions on cleaning your history in Chrome:
Open history page (Ctrl+H on Linux and Windows)
Type facebook.com in search field
Note the absence of "select all" button, which we will emulate in the next step
Press Ctrl+Shift+I - DevTool will appear
Go to "Console" tabe and paste this:
$$('* /deep/ #checkbox[aria-checked="false"]').map(a=>a.click()).length
Hit Enter - it will print some number back to you and you will see some checkboxes to be checked
Scroll lower - you will see that not all checkboxes were checked
In Console, press Arrow Up button and Enter again
It will again print a number and select some checkboxes for you
Keep repeating the command until it prints 0
Verify that all checkboxes are checked (if not - issue the command when unchecked checkboxes are still on the screen)
Click Delete and see al your history gone!