SkipButtons

Try to take over the world!

Od 07.02.2016.. Pogledajte najnovija verzija.

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         SkipButtons
// @namespace    http://tampermonkey.net/
// @version      1.2.3-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
});