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.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==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);
  }*/
}());