HackintoshShop.com unlock

Unlock HackintoshShop.com website if you're browsing with an ad-block and you see just a blue page with a 3 dots loader or an orange page with a circular loader. It also skips the "Download Terms" confirmation dialogue window that appears before you actually get to the real download buttons. By the way, I would rather avoid downloading hacked software form such a greedy site.

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

You will need to install an extension such as Tampermonkey to install this script.

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

// ==UserScript==
// @name        HackintoshShop.com unlock
// @namespace   StephenP
// @description Unlock HackintoshShop.com website if you're browsing with an ad-block and you see just a blue page with a 3 dots loader or an orange page with a circular loader. It also skips the "Download Terms" confirmation dialogue window that appears before you actually get to the real download buttons. By the way, I would rather avoid downloading hacked software form such a greedy site.
// @match https://*.hackintoshshop.com/*
// @match https://hackintoshshop.com/*
// @match http://*.hackintoshshop.com/*
// @match http://hackintoshshop.com/*
// @version     3.0
// @grant       none
// ==/UserScript==
(function(){
  if(document.location.href.includes("/files/file/")){
    const dlButtons=document.getElementsByClassName("download_button");
    for(var i=0;i<dlButtons.length;i++){
      dlButtons[i].parentNode.href=dlButtons[i].parentNode.href+"&confirm=1";
    }
  }
  //try{
    if((document.body.children[0].children[0].children.length==3)||(document.body.children[0].children[0].children.length==6)){
      document.body.children[0].remove();
    }
  //}
  /*catch(err){      //for possible future use, if the wall is loaded dinamically
    console.log(err);
    const targetNode = document.body;
    const config = { attributes: false, childList: true, subtree: true };
    const callback = function(mutationsList, observer) {
        for(const mutation of mutationsList) {
            if (mutation.type === 'childList') {
                if(document.body.children[0].children[0].children.length==3){
                  document.body.children[0].remove();
                  observer.disconnect();
                }
            }
        }
    };
    const observer = new MutationObserver(callback);
    observer.observe(targetNode, config);
  }*/
}());