Greasy Fork is available in English.

Netflix Marathon

Automatically skip recaps, intros and click nexts on Netflix, DisneyPlus and Amazon video for you.

< Σχολιασμός για τον κώδικα Netflix Marathon

Αναφορά: Καλός - ο κώδικας λειτουργεί

§
Δημοσιεύτηκε: 01/01/2018
Επεξεργάστηκε: 01/01/2018

Amazon localization and skip ad

Hey, maybe you can add support for different amazon locations and skip ads in the next version.

// @include      https://www.amazon.*/gp/video/*
else if (document.getElementsByClassName('adSkipButton').length !== 0) {
            //console.log('Found Amazon skip ad.');
            document.getElementsByClassName('adSkipButton')[0].click();
            count = 5;
        }
qweaΔημιουργός
§
Δημοσιεύτηκε: 04/01/2018

hi, I have updated the script including www.amazon.*.
BTW, where is the adSkip come from? I never saw any ads on amazon video nor netflix.

§
Δημοσιεύτηκε: 04/01/2018

@Ran we got trailers for other prime video shows/movies before the video starts here in germany. skippable after a few seconds and that's what the second snipped does.

I'm not sure if the amazon.* works for every plugin in every browser, tampermonkey in chrome works fine. But for SEO alone I'd keep amazon.com included as well.

what is the /gp/product/ for? Isn't it just a amazon shop uri? Why the include?

qweaΔημιουργός
§
Δημοσιεύτηκε: 05/01/2018

For /gp/product/ try this
https://www.amazon.com/gp/product/B0731XBJBV

I have updated the script. Thank you.

§
Δημοσιεύτηκε: 05/01/2018

looks good, thanks

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.