QNA > H > How To Delete Only Specific Url History From Google Chrome

How to delete only specific url history from Google Chrome

Hi Guys,

More optimized solution to automate and remove a specific URL history is follows:

  • Open Chrome
  • Go to your history page (History -> show all history)
  • Search for your URL in the search box
  • Press Crt + Shift + J (In Windows) & cmd + alt + i (In Mac) to open up the console
  • Make sure the history-frame is selected from the drop-down
  • Paste this code in the console
  1. setInterval(function(){ 
  2. if(document.getElementById('loading-spinner').getAttribute('hidden')==""){  
  3. var inputs = document.querySelectorAll('input[type="checkbox"]'), 
  4. button = document.querySelector('#remove-selected'), 
  5. okbutton = document.querySelector('#alertOverlayOk'); 
  6. for(var i = 0; i<=inputs.length-1; i++){ 
  7. inputs[i].checked = true; 
  8. button.removeAttribute('disabled'); 
  9. button.click(); 
  10. okbutton.click(); 
  11. } },3000);  

EDIT: Anil’s answer is simple to do, the only issue over here is if the list is pretty big then you will have to constantly scroll down and wait for new items to load.

Di Luwana

Come visualizzare la cronologia Internet di qualcun altro :: C'è una corrente elettrica che scorre in un cavo coassiale? È sicuro toccare un'estremità mentre l'altra è nel mio ISP?
Link utili