var adfly_id = 1609424; var adfly_advert = ‘int’; var exclude_domains = [‘example.com’, ‘yoursite.com’]; $(function() { var include = Array(); //Leave empty to convert all links on the page or specify keywords //which URL must contain to be processed var exclude = Array(); //Specify keywords which URL must not contain to be processed var id = “b8b4358754cb2397df560f2a1efaecdc”; var redirect = “http://coinurl.com/redirect.php?id=” + id + “&url=”; var links = $(“a[href^=’http’]”; for(var i = 0; i < links.length; i++) { var url = $(links[i]).attr("href"); var deny = false; for(var j = 0; j 0) { var allow = false; for(var j = 0; j < include.length; j++) { if(url.indexOf(include[j]) != -1) { allow = true; break; } } if(!allow) { continue; } } $(links[i]).attr("href", redirect + encodeURIComponent(url)); } });
Source = http://www.pekalongan-community.com/2013/05/kumpulah-foto-gunung-batu-yang.html