Skip Amazon Prime Video Ads

This script skips primevideo ADS

  1. // ==UserScript==
  2. // @name Skip Amazon Prime Video Ads
  3. // @description This script skips primevideo ADS
  4. // @author Maxeo | maxeo.net
  5. // @license https://creativecommons.org/licenses/by-sa/4.0/
  6. // @match https://primevideo.com/region/*/detail/*
  7. // @match https://*.primevideo.com/region/*/detail/*
  8. // @match https://primevideo.com/detail/*
  9. // @match https://*.primevideo.com/detail/*
  10. // @match https://amazon.com/Episode-*/dp/*
  11. // @match https://*.amazon.com/Episode-*/dp/*
  12. // @match https://amazon.co.jp/Episode-*/dp/*
  13. // @match https://*.amazon.co.jp/Episode-*/dp/*
  14. // @match https://amazon.com/gp/video/detail/*
  15. // @match https://*.amazon.com/gp/video/detail/*
  16. // @match https://amazon.co.jp/gp/video/detail/*
  17. // @match https://*.amazon.co.jp/gp/video/detail/*
  18. // @version 1.1
  19. // @icon https://images-eu.ssl-images-amazon.com/images/I/411j1k1u9yL.png
  20. // @namespace https://greasyfork.org/users/88678
  21. // ==/UserScript==
  22.  
  23. (function() {
  24. 'use strict';
  25. setInterval(
  26. function(){
  27. if(document.querySelectorAll('.adSkipButton.skippable').length){
  28. document.querySelector('.adSkipButton.skippable').click();
  29. }
  30. }
  31. ,100);
  32. })();