Remova Propagandas E Temporizadores Ao Baixar Filmes

Abre o link direto de download em sites de torrent que te redirecionam a outros sites, ou fazem aguardar antes de liberar o download.

目前为 2023-04-30 提交的版本。查看 最新版本

// ==UserScript==
// @name         Remova Propagandas E Temporizadores Ao Baixar Filmes
// @namespace    hacker09
// @version      49
// @description  Abre o link direto de download em sites de torrent que te redirecionam a outros sites, ou fazem aguardar antes de liberar o download.
// @author       hacker09
// @noframes
// @match        *://www.google.*
// @match        *://comando.la/*
// @match        *://megatorrents.co/*
// @match        *://www.bluf.online/*
// @match        *://www.baixarfilmes.me/*
// @match        *://torrentdosfilmes.site/*
// @match        *://futebolistasonline.club/*
// @match        *://filmestvdublado.home.blog/*
// @include      /^(https?:\/\/)(www\.)?(adrenalinagames|mastercuriosidadesbr|boutv|bulktorrent|filmesdetv|dubladotorrent|insanostorrent)(\.com)(\/.*)?/
// @include      /^(https?:\/\/)(www\.)?(boardiweb|theexconsofymm|filmedaki)(\.blogspot\.com)(\/.*)?/
// @include      /^(https?:\/\/)(www\.)?(lapumia|comandos-torrent|filmeviatorrents)(\.org)(\/.*)?/
// @include      /^(https?:\/\/)(www\.)?(filmestorrent|bludvfilmes)(\.tv)(\/.*)?/
// @include      /^(https?:\/\/)(www\.)?(filmesmega|lapumia)(\.net)(\/.*)?/
// @include      /^(https?:\/\/)(www\.)?(arnolds)(\.com\.br)(\/.*)?/
// @icon         https://i.imgur.com/zXz7pGG.png
// @grant        GM_registerMenuCommand
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        window.close
// @grant        unsafeWindow
// @run-at       document-idle
// ==/UserScript==
(function() {
  'use strict';
  if (top.location.host.match('www.google')) /*Run only on google */ { //Starts the if condition
    GM_registerMenuCommand("Desativar/Ativar Marcação", ActivateOnGoogle); // Adds an option to the menu
  } // Finishes the if condition

  if (GM_getValue("ActivateOnGoogle") === undefined) //If the value doesn't exist define it as true
  { //Starts the if condition
    GM_setValue("ActivateOnGoogle", true); // Defines the variable as true
  } // Finishes the if condition

  function ActivateOnGoogle() // Function to activate/deactivate the highlight on google
  { //Starts the function ActivateOnGoogle
    if (GM_getValue("ActivateOnGoogle") === true) //If the last config was true, define as false
    { //Starts the if condition
      GM_setValue("ActivateOnGoogle", false); //Defines the variable as false
    } // Finishes the if condition
    else { // If the last config was false, define it as true
      GM_setValue("ActivateOnGoogle", true); //Defines the variable as true
      location.reload(); //Reloads the page
    } // Finishes the else condition
  } // Finishes the function ActivateOnGoogle

  var BlockedWebsites = new RegExp(/^(https?:\/\/)?(www\.)?(filmestvdublado.home.blog|filmesdetv.com|theexconsofymm.blogspot.com|dubladotorrent.com|boutv.com|boardiweb.blogspot.com|bulktorrent.com)/);

  if (top.location.host.match('www.google') && GM_getValue("ActivateOnGoogle") === true) /*Run only on google */ { //Starts the if condition
    function HighLight() //Creates a function to HighLight the websites
    { //Starts the function HighLight
      var PageLinks = document.querySelectorAll("cite"); //Add all page links total number to a variable
      for (var i = PageLinks.length; i--;) { //Starts the for condition
        if (PageLinks[i].innerHTML.match(/^(https?:\/\/)?(www\.)?(bludvfilmes.tv|filmesmega.net|megatorrents.co|insanostorrent.com|torrentdosfilmes.site|comando.la|lapumia.net|bluf.online|filmestorrent.tv|filmeviatorrents.org|baixarfilmes.me|filmedaki.blogspot.com|lapumia.org|comandos-torrent.org)/)) //If the Result contains any of these links
        { //Starts the if condition
          PageLinks[i].style.backgroundColor = 'rgba(255, 255, 0, 0.5)'; //Change the element background to Yellow
        } //Finishes the if condition
        if (PageLinks[i].innerHTML.match(BlockedWebsites)) //If the Result contains any of the Blocked Websites
        { //Starts the else condition
          PageLinks[i].style.backgroundColor = 'rgba(255, 0, 0, 0.2)'; //Change the element background to Red
        } //Finishes the else condition
      } //Finishes the for condition
    } //Finishes the function HighLight
    HighLight(); //Starts the HighLight Function

    new MutationObserver(async function() { //If the results page changes anything (If the user uses anything like the endless google scripts)
      HighLight(); //Starts the HighLight Function
    }).observe(document.querySelector("#rcnt"), { //Defines the element and characteristics to be observed
      attributes: true,
      attributeOldValue: true,
      characterData: true,
      characterDataOldValue: true,
      childList: true,
      subtree: true
    }); //Finishes the definitions that will be observed

  } //Finishes the if condition

  if (top.location.host.match(BlockedWebsites)) /*Run only on the blocked websites*/ { //Starts the if condition
    window.top.close(); //Close the trash website
  } // Finishes the if condition

  if (!top.location.host.match('www.google')) /*Not run only on google */ { //Starts the if condition
    if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) /*If the browser is using the dark theme */ { //Starts the if condition
      document.title = '🏳️☠️ ' + document.title; //Add the pirate flag emoji to the tab title
    } // Finishes the if condition
    else //If the browser is using the light theme
    { //Starts the else condition
      document.title = '🏴‍☠️ ' + document.title; //Add the pirate flag emoji to the tab title
    } // Finishes the else condition
  } // Finishes the if condition

  if (!top.location.host.match('www.google') && top.location.host.match(/(^(www\.)?(comando.la|baixar|filmedaki|filmes?viatorrents|lapumia|bluf|torrentdosfilmes|lapumia.org|comandos-torrent|filmeviatorrents.org|bludvfilmes.tv))(.*)?/) === null) /*Do not run on google, neither on websites that should only be highlighted on google (torrentdosfilmes.site,filmeviatorrents.org,lapumia.org,comandos-torrent.org,bludvfilmes.tv and also (the codes below doesn't work on these websites) */ { //Starts the if condition
    Function.prototype.apply = function() {}; //Disable JS on the website so that the download buttons will load without ads
  } // Finishes the if condition

  var interval = setInterval(function() { //Creates a new interval function
    unsafeWindow.console.clear = () => {}; //Stops the console logs from being cleared
  }, 0); //Finishes the set interval function

  window.onload = function() //When the page finishes loading
  { //Starts the onload function
    clearInterval(interval); //Breaks the timer that stops the console log from being cleared every 0 secs
  } //Finishes the onload function

  if (top.location.host.match(/www.mastercuriosidadesbr.com|www.arnolds.com.br|futebolistasonline.club/)) /*Run only on mastercuriosidadesbr.com,www.arnolds.com.br and on futebolistasonline.club */ { //Starts the if condition
    document.querySelector("#aviso").style.display = "none"; //Disable Counter Text
    document.querySelector("#loko").style.display = "none"; //Disable Fake Download Button
    document.querySelector("#baixar").style.display = ""; //Enable the Real Download Button
    document.oncontextmenu = function() {}; /*Enables the Right Click */
    document.querySelector("#saudacao").remove(); //Remove the text "CLIQUE NO ANÚNCIO ABAIXO PARA LIBERAR O TORRENT"
    document.querySelector("#topo").remove(); //Remove the disable adblock text
    document.querySelector("#colunas").remove(); //Remove the page ads
    document.querySelector("#colunas").remove(); //Remove the page ads

    if (document.querySelector("#baixar > p > a") !== null && document.querySelector('a[href*="magnet"]') === null) //If there's a redirector link and 0 torrent links
    { //Starts the if condition
      open(document.querySelector("#baixar > p > a").href, "_self"); //Open the redirector link link, if existent
    } // Finishes the if condition
    else //Open the magnet link
    { //Starts the else condition
      open(document.querySelector('a[href*="magnet"]').href, "_self"); //Open the unprotected link, if existent
    } // Finishes the else condition

  } // Finishes the if condition

  if (top.location.host === 'www.adrenalinagames.com') /*Run only on adrenalinagames.com */ { //Starts the if condition
    document.getElementById('link0').style.display = "none"; //Hides the fake download button
    document.getElementById('link').style.display = "block"; //Shows the real download button
    document.getElementById('msg').style.display = "none"; /*Disable the message "Clique uma vez em um dos anuncios,aguarde 20 segundos na pagina que ira abrir, apos isso o seu download sera liberado" */
  } // Finishes the if condition

  if (top.location.host.match(/(^(www\.)?(megatorrents|insanostorrent|filmeviatorrents|lapumia|baixarfilmes|bluf))(.*)?/)) /*Run on the correct websites only */ { //Starts the if condition
    document.querySelectorAll('a[target="_blank"]').forEach(link => link.removeAttribute('target')); //Disable target = "_blank" on the website
  } //Finishes the if condition

  if (top.location.host.match(/bludvfilmes.tv|torrentdosfilmes.site/)) /*Run only on bludvfilmes.tv */ { //Starts the if condition
    setTimeout(function() { //Starts the settimeout function
      document.querySelectorAll("a[href*='javascript']").forEach(function(Element, i) { //To all "fake" link elements
        Element.onclick = () => {}; //Prevent the default encoded link from being opened
        Element.href = unsafeWindow.arrDBLinks[i]; //Open the unprotected link
      }); //Finishes the forEach condition
    }, 1000); //Wait for the bludv website to be loaded
  } // Finishes the if condition

  if (top.location.host.match(/comandos-torrent.org/) !== null) /*Run only on the correct websites */ { //Starts the if condition
    document.querySelectorAll("a[href*='?token=']").forEach(function(Element) { //To all encoded links
      Element.onclick = function(e) { //Add an event listener to the fake link elements
        e.preventDefault(); //Prevent the default encoded link from being opened
        open(CryptoJS.AES.decrypt(atob(this.href.split('?token=')[1]), '391si8WU89ghkDB5').toString(CryptoJS.enc.Utf8), "_self"); //Decode, do the reverse cryptographic AES process and finally open the real unprotected download link
      } //Finishes the onclick event listener
    }); //Finishes the forEach condition
  } // Finishes the if condition

  if (top.location.host === 'insanostorrent.com' && document.querySelector("div#categoria.box_item.center-widget") !== null) /*Run only on insanostorrent.com */ { //Starts the if condition
    document.querySelector("div#categoria.box_item.center-widget").innerHTML = document.querySelector("div#categoria.box_item.center-widget").innerHTML; //Remove the event listeners
    for (var i = document.querySelectorAll("input[onclick='this.focus();this.select()']").length; i--;) { //Starts the for condition
      document.querySelectorAll("[href*='javascript:void();']")[i].href = document.querySelectorAll("input[onclick='this.focus();this.select()']")[i].value; //Removes the fake link and adds the correct unprotected link for all buttons
    } // Finishes the for condition
  } // Finishes the if condition
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址