Compucalitv Remove Links Counter

Elimina el contador para ver enlaces en CompucaliTV!

  1. // ==UserScript==
  2. // @name Compucalitv Remove Links Counter
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.9.0
  5. // @description Elimina el contador para ver enlaces en CompucaliTV!
  6. // @author DarioGabriel
  7. // @match https://*/*
  8. // @match *compucalitv.com*
  9. // @include *compucalitv.com*
  10. // @include *compucalitv.pro*
  11. // @include *compul.in*
  12. // @include *cwctv.me*
  13. // @include *ctvtg.me*
  14. // @include *ctvout.buzz*
  15. // @include *ctvurl.*
  16. // @grant none
  17. // ==/UserScript==
  18.  
  19. var currentURL = window.location.href.toString();
  20.  
  21. if (currentURL.match(/.+:\/\/.+\/url\/#/) !== null) {
  22. var encodedURL = currentURL.replace(/.+:\/\/.+\/url\/#/, '');
  23. console.log(encodedURL);
  24. var decodedURL = atob(atob(atob(encodedURL))); //3x base64 decode
  25. decodedURL = decodedURL.replace(/.+url=/,'')
  26. window.open(decodeURIComponent(decodedURL),'_self','noopener,noreferrer,resizable')
  27. }
  28. else {
  29. (function() {
  30. 'use strict';
  31.  
  32. if ((document.URL.indexOf("ctvout") >= 0) || (document.URL.indexOf("ctvurl") >= 0) || (document.URL.indexOf("ctv") >= 0))
  33. {
  34. location.href = global.fastLink+atob(getAfterSharp())
  35. }
  36. else
  37. {
  38. var CompulClick = document.getElementsByClassName("btn btn-lg btn-success")[0];
  39. if (CompulClick !== undefined) CompulClick.click();
  40.  
  41. var LockerDiv = document.getElementsByClassName("onp-sl-content")[0];
  42. if (LockerDiv !== undefined)
  43. {
  44. LockerDiv.setAttribute("data-lock-id", "");
  45. LockerDiv.style.display = "inline";
  46. }
  47.  
  48. CompulClick = document.getElementsByClassName("linkhidder")[0];
  49. if (CompulClick !== undefined) CompulClick.click();
  50. try
  51. {
  52. if (targetURL)
  53. {
  54. window.location.replace(targetURL);
  55. }
  56. }
  57. catch(e)
  58. {
  59. }
  60. try
  61. {
  62. if (link)
  63. {
  64. window.location.replace(link);
  65. }
  66. }
  67. catch(e)
  68. {
  69. }
  70. }
  71. })();
  72. }