Bypass Button Countdowns

Bypasses the button countdown on various video sites, skips pointless ones and goes straight to actual video host.

当前为 2014-10-04 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Bypass Button Countdowns
  3. // @namespace http://www.diamonddownload.weebly.com
  4. // @version 1.2
  5. // @description Bypasses the button countdown on various video sites, skips pointless ones and goes straight to actual video host.
  6. // @include *gorillavid.in/*
  7. // @include *daclips.in/*
  8. // @include *movpod.in/*
  9. // @include *watchtvseries.to/open/cale/*
  10. // @include *watchseries.lt/open/cale/*
  11. // @include *vodu.ch/file/*
  12. // @copyright 2014+, RGSoftware
  13. // @run-at document-body
  14. // @author R.F Geraci
  15. // @icon64 http://icons.iconarchive.com/icons/oxygen-icons.org/oxygen/64/Apps-clock-icon.png
  16. // ==/UserScript==
  17.  
  18.  
  19.  
  20. function SkipClass(objClass){
  21. var className = document.getElementsByClassName(objClass)[0];
  22. if (className != undefined){
  23. // window.location.href = className.href;
  24. className.click();
  25. }
  26. }
  27.  
  28. function SkipId(objId){
  29. var oId = document.getElementById(objId);
  30. if (oId != undefined){
  31. oId.disabled = null;
  32. //window.location.href = oId.href;
  33. //oId.value = "Proceed";
  34. oId.click();
  35. }
  36. }
  37.  
  38. window.onload = function(){
  39. SkipClass('push_button blue');
  40. SkipClass('myButton');
  41. SkipId('submitButton');
  42. SkipId('btn_download');
  43. };