Skip Amazon Prime Video Ads

This script skips primevideo ADS

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Skip Amazon Prime Video Ads
// @description This script skips primevideo ADS
// @author Maxeo | maxeo.net
// @license https://creativecommons.org/licenses/by-sa/4.0/
// @match https://primevideo.com/region/*/detail/*
// @match https://*.primevideo.com/region/*/detail/*
// @match https://primevideo.com/detail/* 
// @match https://*.primevideo.com/detail/*
// @match https://amazon.com/Episode-*/dp/*
// @match https://*.amazon.com/Episode-*/dp/*
// @match https://amazon.co.jp/Episode-*/dp/*
// @match https://*.amazon.co.jp/Episode-*/dp/*
// @match https://amazon.com/gp/video/detail/*  
// @match https://*.amazon.com/gp/video/detail/*
// @match https://amazon.co.jp/gp/video/detail/*  
// @match https://*.amazon.co.jp/gp/video/detail/*   
// @version     1.1
// @icon        https://images-eu.ssl-images-amazon.com/images/I/411j1k1u9yL.png
// @namespace https://greasyfork.org/users/88678
// ==/UserScript==

(function() {
    'use strict';
    setInterval(
        function(){
            if(document.querySelectorAll('.adSkipButton.skippable').length){
                document.querySelector('.adSkipButton.skippable').click();
            }
        }
        ,100);
})();