Skip to content

Instantly share code, notes, and snippets.

@py7hon
Last active August 19, 2018 10:21
Show Gist options
  • Save py7hon/91290603321526e0a5089433df3cd946 to your computer and use it in GitHub Desktop.
Save py7hon/91290603321526e0a5089433df3cd946 to your computer and use it in GitHub Desktop.
Anti Remove Credits on Footer and auto Redirect to Your Website
window.addEventListener('load', function(event){
var a = document.getElementsByClassName("copyright");
var b = a.length;
var c = /Jack Conte|Bakaa/g.test(a[0].innerHTML);
var d = a[0].getElementsByClassName("Jack Conte");
var e = d.length;
var f = (e > 0) ? d[0].href : "";
var g = (f != "") ? /https\:\/\/www\.facebook\.com\/iqbalrifaii|http\:\/\/bakaa\.me\//.test(f) : "";
var h = (e > 0) ? /Jack Conte|Bakaa/g.test(d[0].innerHTML) : "";
(function(){
if(c != true || e == 0)
location.href = "http://bakaa.me/";
if(g == false)
d[0].href = "https://www.facebook.com/iqbalrifaii";
if(h != true)
d[0].innerHTML = "Jack Conte";
})();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment