What about it doesn't work? Is the string incorrect or is the page not loading or something? I don't know much about jquery, but I might be able to help with a little more detail.
code:
(jquery 1.11.x is included)HTML Code:var el = document.getElementsByTagName("a"); if(window.location.hostname != "buka.link"){ for(var i=0;i<el.length;i++){ $.get( el[i], data); // problem is the line above and below doesn't seem to work... if ~data.indexOf('This domain is blocked.'){ el[i].href = el[i].href.replace("http://buka.link/", ""); el[i].href = el[i].href.replace("http://buka.link/browse.php?u=", ""); el[i].href = "http://buka.link/browse.php?u=" + el[i].href; } } }
laughing at internet security since middle school
What about it doesn't work? Is the string incorrect or is the page not loading or something? I don't know much about jquery, but I might be able to help with a little more detail.
Seems super slow.
laughing at internet security since middle school