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.

  1. // ==UserScript==
  2. // @name HackintoshShop.com unlock
  3. // @namespace StephenP
  4. // @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.
  5. // @match https://*.hackintoshshop.com/*
  6. // @match https://hackintoshshop.com/*
  7. // @match http://*.hackintoshshop.com/*
  8. // @match http://hackintoshshop.com/*
  9. // @version 3.0
  10. // @grant none
  11. // ==/UserScript==
  12. (function(){
  13. if(document.location.href.includes("/files/file/")){
  14. const dlButtons=document.getElementsByClassName("download_button");
  15. for(var i=0;i<dlButtons.length;i++){
  16. dlButtons[i].parentNode.href=dlButtons[i].parentNode.href+"&confirm=1";
  17. }
  18. }
  19. //try{
  20. if((document.body.children[0].children[0].children.length==3)||(document.body.children[0].children[0].children.length==6)){
  21. document.body.children[0].remove();
  22. }
  23. //}
  24. /*catch(err){ //for possible future use, if the wall is loaded dinamically
  25. console.log(err);
  26. const targetNode = document.body;
  27. const config = { attributes: false, childList: true, subtree: true };
  28. const callback = function(mutationsList, observer) {
  29. for(const mutation of mutationsList) {
  30. if (mutation.type === 'childList') {
  31. if(document.body.children[0].children[0].children.length==3){
  32. document.body.children[0].remove();
  33. observer.disconnect();
  34. }
  35. }
  36. }
  37. };
  38. const observer = new MutationObserver(callback);
  39. observer.observe(targetNode, config);
  40. }*/
  41. }());