
To stop the loop manually, you can now click the red Stop button. ** // UPDATE () It will now stop on ITS OWN. To start erasing your filtered history items, you can now click the green Start button. The item is looped using the variable "clearAllFiltered", which is a setInterval loop, which is checking for the status of the "Loading" screen. After a half-second, it'll check if the "Are You Sure" prompt is displayed and, if so, click the "Yes/Remove" button automatically for you so that it will load a new list of items to do this process all over again. This removeItems function will select loop through all form inputs and check all checkboxes, enable the "Remove Selected Items" button and click it. * revision (08.20.14): Now we add our buttons, and we're ready to go! */ĮditingControls = document.getElementById('editing-controls') ĮditingControls.appendChild(startButton) In the Console Debugger/Viewer, copy & paste the following code: function removeItems(), 250) //adjust Time Here (1500 = 1.5sec)ĭocument.getElementById("stopButton").style.display = "" ĭocument.getElementById("startButton").style.display = "none" You can also press F12 and select the " Console" tab. Next, load your Console Debugger/Viewer by pressing Ctrl+ Shift+ J It's normally loaded in an iframe, with the left-side menu loaded in another frame. In your address bar, type in the following address to to the meat of the history page. Therefore, I whipped up a couple buttons (start/stop) to control the usage as well as address some "ASSERTION FAILED" exceptions/errors that were being thrown when attempted to run the script loop. Other users may not be code-savvy, and others may simply prefer convenience. I made a few changes to the code, to make it more user friendly. I also added " auto-stop" functionality, meaning the loop will stop once it has finally cleared the list. I added a shorter approach provided by Gorbachev to the checkbox targeting, which helped shorten some of this code. I tried using it in a bookmark but I get no response from the page.
