SkipButtons

Try to take over the world!

Versione datata 07/02/2016. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         SkipButtons
// @namespace    https://greatest.deepsurf.us/en/users/29638-guy
// @version      1.2.4-unoffical
// @description  Try to take over the world!
// @author       R.F Geraci, Guy
// @copyright    2014+, RGSoftware (2016+, Guy)
// ============ Video Links Indexers ============
// @include      *projectfree-tv.to/cale.html?r=*
// @include      *thewatchseries.to/cale.html?r=*
// @include      *watchseries.li/link/*
// @include      *watchseries.ag/open/cale/*
// @include      *spainseries.lt/open/cale/*
// @include      *watchseries.vc/open/cale/*
// @include      *watchtvseries.vc/open/cale/*
// @include      *watchtvseries.se/open/cale/*
// @include      *primeseries.to/open/cale/*
// @include      *watchseries.lt/open/cale/*
// @include      *.watchseries1.eu/watch/link/*
// ============ Video Hosters ============
// @include      *auroravid.to/video/*
// @include      *bitvid.sx/file/*
// @include      *vodlocker.com/*
// @include      *vidbull.com/*
// @include      *daclips.in/*
// @include      *movpod.in/*
// @include      *vidto.me/*
// @run-at       document-body
// @icon64       http://icons.iconarchive.com/icons/oxygen-icons.org/oxygen/64/Apps-clock-icon.png
// @grant        none
// @require      http://code.jquery.com/jquery-latest.min.js
// ==/UserScript==
/* jshint -W097 */
'use strict';
// Orginal script: https://greatest.deepsurf.us/scripts/3948-bypass-button-countdowns/
// No hard feelings, R.F Geraci, I just wanted a more updated version! -Guy

//    *watchtvseries.to/open/cale/* -- under maintence (but also watch-tv-series.to / )

function getVideoURL() {
    // seems to be unnecessary when using $(document).ready() instead of window.onload
    return atob(window.location.search.substr(3)); // decode url from base64 to string
}

function SkipClass(objClass){
    var className = document.getElementsByClassName(objClass)[0];
    if (className !== undefined){
        //window.location.href = className.href;
        className.click();
    }
}

function SkipId(objId){
    var oId = document.getElementById(objId);
    if (oId !== undefined){
        oId.disabled = null;
        //window.location.href = oId.href;  
        //oId.value = "Proceed";
        oId.click();
    }
}

$(document).ready(function() {
    // Vieo url Indexers
    SkipClass('btn btn-info btn-lg'); // watchseries1.eu
    SkipClass('push_button blue'); // newer watchseries.to based webpages
    SkipClass('myButton'); // older watchseries based webpages
    // Video Hosts
    SkipId('submitButton'); // unknown, left it in for w/e reason
    SkipId('btn_download'); // gorillavid / vodlocker / vidbull / daclips / movpod / vidto
    SkipClass('btn') // auroravid / bitvid
});