Created
September 21, 2017 18:35
-
-
Save derofim/fadb093cd0a8b7ca391e5f7e14a1fe09 to your computer and use it in GitHub Desktop.
Enter the following into the developer console (F12)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// delete all dailymotion video highlights | |
for(var i = 0; i < document.getElementsByClassName("icon-delete").length; i++) { | |
var toDelete = document.getElementsByClassName("icon-delete")[i] | |
if (toDelete) { | |
toDelete.click(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment