ProjeXCode Forum: Script Safelink untuk Blog Utama // Plug-in Theme Lotus

Title Role Staff

Title Role Senior Member

Title Role Member

Title Role Junior Member

Title Role New Member

Title Badge Moderator

Title Color Moderator

Title Badge Staff

Title Color Staff

Title Badge Member

Title Color Member

Status Info

Status Verified

ADS Title User

Your Time :

Server Time :

  • Script Safelink untuk Blog Utama // Plug-in Theme Lotus
    January 23, 2023
    Share this Threads
    Close
    Letakkan Script dibawah di atas code </head> :

    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']
    Last edited : January 23, 2023

    Similar Threads