11-10

{
    "Injectscript": {
        "snapins_ai": "javascript: (function () {
  try {
        
    Android.logWebStatus('Step 1: Starting script execution');
    Android.onchat('Welcome 👋');

    function AndroidError(message) {
        Android.LogErrorT(message);
    Android.onchat('Arre, a error!  Please Wait, lets try again 😑');
    Android.ii_igram_world();
    }

    function input_Retrying(callback) {
        let attempt = 0, maxTries = 10, delay = 250;
      let timer = setInterval(() => {
        attempt++;
    let input = document.getElementById('input-ursl');
    if (input) {
        input.value = '__LINK__';
    input.dispatchEvent(new Event('input', {bubbles: true }));
    Android.logWebStatus('Step 2: Value inserted successfully');

    clearInterval(timer);
    callback();
        } else if (attempt >= maxTries) {
        AndroidError('snapins_ai _> #input-url Not Found after { ' + maxTries + ' } tries');
    clearInterval(timer);
    callback();
        }
      }, delay);
    }

    function submitbtn_Retrying(callback) {
        let tries = 0, maxTries = 10, delay = 100;
      let timer = setInterval(() => {
        tries++;
    let submitBtn = document.getElementById('submit-btn');
    if (submitBtn) {
        submitBtn.click();
    Android.logWebStatus('Step 3: Submit button clicked');
     

    clearInterval(timer);
    callback();
        } else if (tries >= maxTries) {
        clearInterval(timer);
    callback();
          AndroidError('snapins_ai _> #submit-btn Not Found after {' + maxTries + '} tries');

        }
      }, delay);
    }

    function Scaning_link() {
        let attempt = 0, maxAttempts = 10, interval = 500, show =true;
    Android.logWebStatus('Step 4: Starting search for download links');


    const scan = function () {
        attempt++;
    const buttons = document.querySelectorAll('a.bg-blue-600.text-white.py-2.rounded');
        const links = Array.from(buttons).map(btn => btn.href).filter(Boolean);

    Android.logWebStatus(`Step 4: Found attamp at: ` + attempt);
    if(attempt == 2 && show){
        Android.onchat('processing your request.');
    show = false;
                }
        if (links.length > 0) {
        Android.RECEIVE_LINKS(JSON.stringify(links));
    Android.onchat('Lets Goooooo! Download started ');

    Android.logWebStatus(`Step 5: onSuccess ${links.length} link `);

    return;
        }

    if (attempt < maxAttempts) {
        Android.logWebStatus(`Step 4.1: No links found, retrying...` + attempt);
    setTimeout(scan, interval);
        } else {
        AndroidError('snapins_ai _> No download links found Not Found after {' + maxAttempts + '} tries');
        }
      };

    scan();
    }

    input_Retrying(() => {
        submitbtn_Retrying(() => {
            Scaning_link();
        });
    });

  } catch (e) {
        AndroidError(e.message);
  }
})();




    ",









    "igram_world": "javascript: (function () {
    try {
        
    Android.logWebStatus('Step 1: Starting script execution');
    Android.onchat('Welcome 👋');

    function AndroidError(message) {
        Android.LogErrorT(message);

    Android.onchat('Arre, a error!  Please Wait, lets try again 😑');
   Android.iii_Fastdl_app();
        }


    function input_Retrying(callback) {
        let attempt = 0, maxTries = 10, delay = 250;
            let timer = setInterval(() => {
        attempt++;
    let input = document.getElementById('search-form-input');
    if (input) {
        input.value = '__LINK__';
    input.dispatchEvent(new Event('input', {bubbles: true }));
    Android.logWebStatus('Step 2: Value inserted successfully');


    clearInterval(timer);
    callback();
                } else if (attempt >= maxTries) {
        AndroidError('igram_world _> #input-url Not Found after { ' + maxTries + ' } tries');
    clearInterval(timer);
    callback();
                }
            }, delay);
        }

    function submitbtn_Retrying(callback) {
        let tries = 0, maxTries = 10, delay = 100;
            let timer = setInterval(() => {
        tries++;
    var submitBtn = document.querySelector('.search-form__button');

    if (submitBtn) {
        submitBtn.click();
    Android.logWebStatus('Step 3: Submit button clicked');
     

    clearInterval(timer);
    callback();
                } else if (tries >= maxTries) {
        AndroidError('igram_world _> #submit-btn Not Found after {' + maxTries + '} tries');
    clearInterval(timer);
    callback();

                }
            }, delay);
        }

    function Scaning_link() {
        let attempt = 0, maxAttempts = 10, interval = 500, show = true;
    Android.logWebStatus('Step 4: Starting search for download links');


    const scan = function () {
        attempt++;
    var buttons = document.querySelectorAll('a.button.button--filled.button__download');
                const links = Array.from(buttons).map(btn => btn.href).filter(Boolean);

    Android.logWebStatus(`Step 4: Found attamp at: ` + attempt);

    if(attempt == 2 && show){
        Android.onchat('processing your request.');
    show = false;
                }
                if (links.length > 0) {
        Android.RECEIVE_LINKS(JSON.stringify(links));
    Android.onchat('Lets Goooooo! Download started ');
    Android.logWebStatus(`Step 5: onSuccess ${links.length} link `);
    return;
                }

    if (attempt < maxAttempts) {
        Android.logWebStatus(`Step 4.1: No links found, retrying...` + attempt);
    setTimeout(scan, interval);
                } else {
        AndroidError('igram_world _> No download links found Not Found after {' + maxAttempts + '} tries');

                }
            };

    scan();
        }

        input_Retrying(() => {
        submitbtn_Retrying(() => {
            Scaning_link();
        });
        });

    } catch (e) {
        AndroidError(e.message);
    }
})();








    ",


    "fastdl_app": "javascript: (function () {
    try {
        
    Android.logWebStatus('Step 1: Starting script execution');
    Android.onchat('Welcome 👋');

    function AndroidError(message) {
        Android.LogErrorT(message);

    Android.onchat('Arre, a error!  Please Wait, lets try again 😑');
    Android.iv_snapinsta_guru();
        }


    function input_Retrying(callback) {
        let attempt = 0, maxTries = 10, delay = 250;
            let timer = setInterval(() => {
        attempt++;
    let input = document.getElementById('search-form-input');
    if (input) {
        input.value = '__LINK__';
    input.dispatchEvent(new Event('input', {bubbles: true }));
    Android.logWebStatus('Step 2: Value inserted successfully');


    clearInterval(timer);
    callback();
                } else if (attempt >= maxTries) {
        AndroidError('fastdl_app _> #input-url Not Found after { ' + maxTries + ' } tries');
    clearInterval(timer);
    callback();
                }
            }, delay);
        }

    function submitbtn_Retrying(callback) {
        let tries = 0, maxTries = 10, delay = 100;
            let timer = setInterval(() => {
        tries++;
    var submitBtn = document.querySelector('.search-form__button');

    if (submitBtn) {
        submitBtn.click();
    Android.logWebStatus('Step 3: Submit button clicked');
     

    clearInterval(timer);
    callback();
                } else if (tries >= maxTries) {
        AndroidError('fastdl_app _> #submit-btn Not Found after {' + maxTries + '} tries');
    clearInterval(timer);
    callback();

                }
            }, delay);
        }

    function Scaning_link() {
        let attempt = 0, maxAttempts = 10, interval = 500, show = true;
    Android.logWebStatus('Step 4: Starting search for download links');


    const scan = function () {
        attempt++;
    var buttons = document.querySelectorAll('a.button.button--filled.button__download');
                const links = Array.from(buttons).map(btn => btn.href).filter(Boolean);

    Android.logWebStatus(`Step 4: Found attamp at: ` + attempt);
    if(attempt == 2 && show){
        Android.onchat('processing your request.');
    show = false;
                }
                if (links.length > 0) {
        Android.RECEIVE_LINKS(JSON.stringify(links));
    Android.onchat('Lets Goooooo! Download started ');

    Android.logWebStatus(`Step 5: onSuccess ${links.length} link `);

    return;
                }

    if (attempt < maxAttempts) {
        Android.logWebStatus(`Step 4.1: No links found, retrying...` + attempt);
    setTimeout(scan, interval);
                } else {
        AndroidError('fastdl_app _> No download links found Not Found after {' + maxAttempts + '} tries');

                }
            };

    scan();
        }

        input_Retrying(() => {
        submitbtn_Retrying(() => {
            Scaning_link();
        });
        });

    } catch (e) {

        AndroidError(e.message);
    }
})();



    ",
    "snapinsta_guru": "javascript: (function () {
try {
    
    Android.logWebStatus('Step 1: Starting script execution');
    Android.onchat('Welcome 👋');

    function AndroidError(message) {
        Android.LogErrorT(message);

        Android.onchat('Arre, a error!  Please Wait, lets try again 😑');
        Android.v_downloadgram_app();
        
    }


    function input_Retrying(callback) {
        let attempt = 0, maxTries = 10, delay = 250;
        let timer = setInterval(() => {
            attempt++;
            let input = document.querySelector('.form__input-input');
            if (input) {
                input.value = '__LINK__';
                input.dispatchEvent(new Event('input', { bubbles: true }));
                Android.logWebStatus('Step 2: Value inserted successfully');


                clearInterval(timer);
                callback();
            } else if (attempt >= maxTries) {
                AndroidError('snapinsta_guru _> #input-url Not Found after { ' + maxTries + ' } tries');
                clearInterval(timer);
                callback();
            }
        }, delay);
    }

    function submitbtn_Retrying(callback) {
        let tries = 0, maxTries = 10, delay = 100;
        let timer = setInterval(() => {
            tries++;
            var submitBtn = document.querySelector('.form__form-button');

            if (submitBtn) {
                submitBtn.click();
                Android.logWebStatus('Step 3: Submit button clicked');


                clearInterval(timer);
                callback();
            } else if (tries >= maxTries) {
                AndroidError('snapinsta_guru _> #submit-btn Not Found after {' + maxTries + '} tries');
                clearInterval(timer);
                callback();

            }
        }, delay);
    }

    function Scaning_link() {
        let attempt = 0, maxAttempts = 10, interval = 500, show = true;
        Android.logWebStatus('Step 4: Starting search for download links');


        const scan = function () {
            attempt++;
            var buttons = document.querySelectorAll('.button.button--filled.button__download');
            const links = Array.from(buttons).map(btn => btn.href).filter(Boolean);

            Android.logWebStatus(`Step 4: Found attamp at: ` + attempt);
            if (attempt == 2 && show) {
                Android.onchat('processing your request.');
                show = false;
            }
            if (links.length > 0) {
                Android.RECEIVE_LINKS(JSON.stringify(links));
                Android.onchat('Lets Goooooo! Download started ');

                Android.logWebStatus(`Step 5: onSuccess ${links.length} link `);

                return;
            }

            if (attempt < maxAttempts) {
                Android.logWebStatus(`Step 4.1: No links found, retrying...` + attempt);
                setTimeout(scan, interval);
            } else {
                AndroidError('snapinsta_guru _> No download links found Not Found after {' + maxAttempts + '} tries');

            }
        };

        scan();
    }

    input_Retrying(() => {
        submitbtn_Retrying(() => {
            Scaning_link();
        });
    });

} catch (e) {

    AndroidError(e.message);
}
}) ();



","downloadgram_app": "javascript: (function () {
try {
    
    Android.logWebStatus('Step 1: Starting script execution');
    Android.onchat('Welcome 👋');

    function AndroidError(message) {
        Android.LogErrorT(message);

        Android.onchat('Arre, a error!  Please Wait, lets try again 😑');
         
    }


    function input_Retrying(callback) {
        let attempt = 0, maxTries = 10, delay = 250;
        let timer = setInterval(() => {
            attempt++;
            let input = document.getElementById('url');
            if (input) {
                input.value = '__LINK__';
                input.dispatchEvent(new Event('input', { bubbles: true }));
                Android.logWebStatus('Step 2: Value inserted successfully');


                clearInterval(timer);
                callback();
            } else if (attempt >= maxTries) {
                AndroidError('downloadgram_app _> #input-url Not Found after { ' + maxTries + ' } tries');
                clearInterval(timer);
                callback();
            }
        }, delay);
    }

    function submitbtn_Retrying(callback) {
        let tries = 0, maxTries = 10, delay = 100;
        let timer = setInterval(() => {
            tries++;
            var submitBtn = document.getElementById('send');


            if (submitBtn) {
                submitBtn.click();
                Android.logWebStatus('Step 3: Submit button clicked');


                clearInterval(timer);
                callback();
            } else if (tries >= maxTries) {
                AndroidError('downloadgram_app _> #submit-btn Not Found after {' + maxTries + '} tries');
                clearInterval(timer);
                callback();

            }
        }, delay);
    }

    function Scaning_link() {
        let attempt = 0, maxAttempts = 10, interval = 500, show = true;
        Android.logWebStatus('Step 4: Starting search for download links');


        const scan = function () {
            attempt++;
var button = document.querySelector('#downloadhere a[download]');
            const links = Array.from(buttons).map(btn => btn.href).filter(Boolean);

            Android.logWebStatus(`Step 4: Found attamp at: ` + attempt);
            if (attempt == 2 && show) {
                Android.onchat('processing your request.');
                show = false;
            }
            if (links.length > 0) {
                Android.RECEIVE_LINKS(JSON.stringify(links));
                Android.onchat('Lets Goooooo! Download started ');

                Android.logWebStatus(`Step 5: onSuccess ${links.length} link `);

                return;
            }

            if (attempt < maxAttempts) {
                Android.logWebStatus(`Step 4.1: No links found, retrying...` + attempt);
                setTimeout(scan, interval);
            } else {
                AndroidError('downloadgram_app _> No download links found Not Found after {' + maxAttempts + '} tries');

            }
        };

        scan();
    }

    input_Retrying(() => {
        submitbtn_Retrying(() => {
            Scaning_link();
        });
    });

} catch (e) {

    AndroidError(e.message);
}
}) ();



",

    "fdown_net": "javascript: (function () {
    try {




        let attemptTry = 0;
    const maxAttempts = 10;
    const interval = 400;
    const Scanninglink = function () {

        Android.logWebStatus('Step 4: Starting search for downloading (Links)');
    attemptTry++;
    Android.logWebStatus('Step [4.1]: Attempt ' + attemptTry + ' to find download links');

    let arrayList = [];

    const hdLink = document.getElementById('hdlink');
    const sdLink = document.getElementById('sdlink');

    if (sdLink && sdLink.href) {
        arrayList.push(sdLink.href);
    Android.logWebStatus('Step [4.2]: Found SD link (2nd link): ' + sdLink.href);

    Android.RECEIVE_LINKS(JSON.stringify(arrayList));
    Android.logWebStatus('Step [5]: Link sent: ' + arrayList[0]);
    return;
            } else if (hdLink && hdLink.href) {
        arrayList.push(hdLink.href);
    Android.logWebStatus('Step [4.3]: Only HD link found: ' + hdLink.href);

    Android.RECEIVE_LINKS(JSON.stringify(arrayList));
    Android.logWebStatus('Step [5]: Link sent: ' + arrayList[0]);
    return;
            }


    if (attemptTry < maxAttempts) {
        Android.logWebStatus('Step [4.4]: No links found, retrying...');
    setTimeout(Scanninglink, interval);
    return;
            } else {
        Android.logWebStatus('Step [6]: No download links found after ' + maxAttempts + ' attempts');
                Android.LogErrorT('fdown_net -> No download links found');
            }

        };
    if (window.location.href.endsWith('download.php')) {
        Scanninglink();
    return;
        }





    let CLick_attempt = 0;
    let CSearching_attempt = 0;
    const smaxAttempts = 20;
    const sinterval = 200;
    let submitClicked = false;

    function tryClickSubmit() {
        submitClicked = true;
    CLick_attempt++;
    CSearching_attempt++;
    const submitBtn = document.getElementsByClassName('btn btn-primary input-lg')[0];

    Android.logWebStatus(`Step 3: Searching Submit Button !!!`);
    if (submitBtn) {
        submitBtn.click();
    submitClicked = true;
    Android.logWebStatus(`Step 3.1: Submit Clicked = on attempt ${CLick_attempt}`);
            } else if (CLick_attempt < smaxAttempts) {
        setTimeout(tryClickSubmit, sinterval);
    Android.logWebStatus(`Step 3.2: Submit Button NOT* Found (${CSearching_attempt}/${smaxAttempts}`);
            } else {
        Android.logWebStatus('Submit button not found after maximum attempts.');

            }
        }





    Android.logWebStatus('Step 1: Starting script execution');
    

    let iattempts = 0;
    const imaxAttempts = 20;
    const iinterval = 200;

    function trySetInput() {
        iattempts++;
    const input = document.getElementsByName('URLz')[0];

    if (input) {
        input.value = '__LINK__';
    input.dispatchEvent(new Event('input', {bubbles: true }));
    Android.logWebStatus(`Step 2: Input value set (attempt ${iattempts})`);
                setTimeout(() => {
        tryClickSubmit();
                }, 2309);
    return;
            } else if (iattempts < imaxAttempts) {
        setTimeout(trySetInput, iinterval);
            } else {
        Android.LogErrorT('fdown_net -> Input field not found after retries');
            }
        }


    trySetInput();

















    } catch (e) {
        Android.LogErrorT(e.message);
    }
})();



    "
  },"onCore": {
    "other": "no4",
    "onWeb": {
      "webresourceblock": "on"
    }
  }
}

Comments

Popular posts from this blog

ttttttttt

13-10

15.9