Skip to content

Instantly share code, notes, and snippets.

@Ophuscado
Last active November 17, 2025 03:06
Show Gist options
  • Select an option

  • Save Ophuscado/46883c93ac090cd1402d8f81a7b81e69 to your computer and use it in GitHub Desktop.

Select an option

Save Ophuscado/46883c93ac090cd1402d8f81a7b81e69 to your computer and use it in GitHub Desktop.
Amazon automatisation for clicking on all items to delete watched history
// 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();
}
}
main()
@mk14steve
Copy link

Doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment