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
// The following script is meant to undo upvotes on Reddit using the JavaScript console. | |
// You can change its behaviour by modifying the following parameters. | |
async function main() { | |
// Arrow modes are "upvote" or "downvote". | |
var mode = "upvote" | |
// Arrow states are "true" or "false". | |
// Click on the "true" arrows to disable them. | |
// Click on the "false" arrows to enable them. |
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
// The following script is meant to remove Prime Video history using the JavaScript console. | |
// Amazon should have a one-click solution... | |
async function main() { | |
// Loop over all items loaded in the page | |
var items = document.querySelectorAll("button._1ovr-S"); | |
for (var i = 0; i < items.length; i++) { | |
items[i].click(); | |
} | |
} |