url = 'https://www.lotus.projexcode.com';
const module = {
except: ['google.com'],
r:{a:'cdpt',g:'cdps',b:'bfds',c:'wqeyhz',d:'lprdfs',e:'gddmd',f:'gvos',},
safex: async function(a){
try{
if(document.querySelectorAll('a')){
await document.querySelectorAll('a').forEach(async (elm) => {
const b = await this.except.find((v) => elm.href.replace('www.','').split('/')[2] === v);
if(b == undefined && elm.href.indexOf("://") > -1){
let i=0,c=elm.href.split('https').join(this.r.a).split('http').join(this.r.g).split(':').join(this.r.b).split('/').join(this.r.c).split('=').join(this.r.d).split('.').join(this.r.e).split('www').join(this.r.f);
while(i<5){
c=btoa(c);
i++;
}
elm.href = `${a.feed.entry[Math.floor(Math.random() * a.feed.entry.length)].link[a.feed.entry[Math.floor(Math.random() * a.feed.entry.length)].link.length - 1].href}?x=${c}`;
}
});
}
}catch(err){
console.error(err);
}},
init: async function(){
try{
const a = document.createElement('script');
a.src=`${url}/feeds/posts/default?alt=json-in-script&max-results=150&callback=module.safex`;
a.async = !0;
a.defer = !0;
document.body.appendChild(a);
}catch(err){
console.error(err);
}},
}
const { init } = module;
Jika Sudah Cari tag </body> letakkan pemanggil script dibawah diatas tag tersebut:
init();
Silahkan ganti Url dengan Url Blog kalian yang memakai Theme Lotus
Jika ada link yang ingin dilindungi (tidak ter-generate safelink), silahkan tambahakan array pada variable except. contaoh:
['google.com','blogger.com']
Similar Threads