Compucalitv Remove Links Counter

Elimina el contador para ver enlaces en CompucaliTV!

目前为 2022-08-29 提交的版本。查看 最新版本

// ==UserScript==
// @name         Compucalitv Remove Links Counter
// @namespace    http://tampermonkey.net/
// @version      1.8.2
// @description  Elimina el contador para ver enlaces en CompucaliTV!
// @author       DarioGabriel
// @match        *compucalitv.com*
// @include      *compucalitv.com*
// @include      *compul.in*
// @include      *cwctv.me*
// @include      *ctvout.buzz*
// @include      *ctvurl.*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    if ((document.URL.indexOf("ctvout") >= 0) || (document.URL.indexOf("ctvurl") >= 0) || (document.URL.indexOf("ctv") >= 0))
    {
        location.href = global.fastLink+atob(getAfterSharp())
    }
    else
    {
        var CompulClick = document.getElementsByClassName("btn btn-lg btn-success")[0];
        if (CompulClick !== undefined) CompulClick.click();

        var LockerDiv = document.getElementsByClassName("onp-sl-content")[0];
        if (LockerDiv !== undefined)
        {
            LockerDiv.setAttribute("data-lock-id", "");
            LockerDiv.style.display = "inline";
        }

        CompulClick = document.getElementsByClassName("linkhidder")[0];
        if (CompulClick !== undefined) CompulClick.click();
        try
        {
            if (targetURL)
            {
                window.location.replace(targetURL);
            }
        }
        catch(e)
        {
        }
        try
        {
            if (link)
            {
                window.location.replace(link);
            }
        }
        catch(e)
        {
        }
    }
})();