• Categories
  • Recent
  • Popular
  • Users
  • Search
  • FingerprintSwitcher
  • CustomServers
  • AutomationPlugins
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Bablosoft

Help me with modul Node.JS, Please

Scheduled Pinned Locked Moved Support
20 Posts 3 Posters 1990 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fanspro
    wrote on last edited by
    #1

    Hallo
    I tried using the node.js module, but this script doesn't work. What's wrong with me? Can you help me so that this script can run using the node.js module? Thank you.
    4abbd849-47bd-4b43-9414-f6a6a7b3d9c1-image.png

    6a8db35e-8527-4f4c-9738-3338e56604fd-image.png

    1 Reply Last reply
    0
  • S Offline
    S Offline
    spam
    wrote on last edited by
    #2

    в ошибке конкретно указано проблемное место.

    F 1 Reply Last reply
    0
  • F Offline
    F Offline
    fanspro
    replied to spam on last edited by
    #3

    @spam This error occurs because of this module or script, brother?

    S 1 Reply Last reply
    0
  • S Offline
    S Offline
    spam
    replied to fanspro on last edited by spam
    #4

    @fanspro <script> удали.
    у тебя еще там пара ошибок критических есть в коде

    F 2 Replies Last reply
    0
  • F Offline
    F Offline
    fanspro
    replied to spam on last edited by
    #5

    @spam Oh like that, okay sis, I'll try sis, thank you very much sis

    1 Reply Last reply
    0
  • F Offline
    F Offline
    fanspro
    replied to spam on last edited by
    #6

    @spam I've tried but still can't, can you please help me fix this script

    <script>
    (function() {
    // List of destination URLs
    const urls = [
    'Directlink',
    'Directlink',
    'Directlink',
    'Directlink',
    'Directlink'
    ];

    // Read referer
    const referrer = document.referrer;
    console.log("Referer:", referrer); // For debugging

    // Function to check if the referer comes from Facebook
    function isFromFacebook(ref) {
    if (!ref) return false;
    const facebookDomains = [
    'facebook.com',
    'www.facebook.com',
    'l.facebook.com',
    'i.facebook.com',
    'I.facebook.com',
    'https://facebook.com',
    'https://www.facebook.com',
    'https://l.facebook.com',
    'https://i.facebook.com',
    'https://I.facebook.com',
    'https://m.facebook.com',
    'm.facebook.com'
    ];
    return facebookDomains.some(domain => ref.includes(domain));
    }

    // If the referrer is from Facebook, redirect
    if (isFromFacebook(referrer)) {
    // Pick a random URL from the list
    const randomUrl = urls[Math.floor(Math.random() * urls.length)];
    console.log("Redirecting to:", randomUrl); // For debugging

    // Create a hidden form with the referrer submitted
    const form = document.createElement('form');
    form.method = 'GET';
    form.action = randomUrl;
    form.style.display = 'none';
    // Don't set 'referrerpolicy', so the referrer is sent by default

    // Add the form to the document body
    document.body.appendChild(form);

    // Submit the form to perform the redirect
    form.submit();
    } else {
    console.log("User is not from Facebook. Do not redirect.");
    // You can add other actions here if needed
    }
    })();
    </script>

    S FoxF 2 Replies Last reply
    0
  • S Offline
    S Offline
    spam
    replied to fanspro on last edited by
    #7

    @fanspro что конкретно ты пробовал?

    F 1 Reply Last reply
    0
  • FoxF Offline
    FoxF Offline
    Fox Bablosoft Team
    replied to fanspro on last edited by
    #8

    @fanspro said in Help me with modul Node.JS, Please:

    @spam I've tried but still can't, can you please help me fix this script

    Для указания кода в сообщении используйте кнопку "Код"
    ca1ebc95-08f8-4496-9374-ac322834656f-изображение.png

    F 1 Reply Last reply
    0
  • F Offline
    F Offline
    fanspro
    replied to spam on last edited by
    #9

    @spam I just want to open website/url with this script

    1 Reply Last reply
    0
  • F Offline
    F Offline
    fanspro
    replied to Fox on last edited by
    #10

    @Fox Can this fix the incorrect script? Okay, I'll try, thank you very much. and Where is this command?

    FoxF 1 Reply Last reply
    0
  • FoxF Offline
    FoxF Offline
    Fox Bablosoft Team
    replied to fanspro on last edited by
    #11

    @fanspro said in Help me with modul Node.JS, Please:

    @Fox Can this fix the incorrect script? Okay, I'll try, thank you very much. and Where is this command?

    When you write a message on the forum, there is a panel just above that has this button.

    de5eab9f-3e88-4245-baa3-a8c8ebd6b775-изображение.png

    F 2 Replies Last reply
    0
  • F Offline
    F Offline
    fanspro
    replied to Fox on last edited by
    #12

    @Fox ```
    <script>
    (function() {
    // Daftar URL tujuan
    const urls = [
    'Diirectlink',
    'Directlink',
    'Directlink',
    'Directlink',
    'Directlink'
    ];

            // Membaca referer
            const referrer = document.referrer;
            console.log("Referer:", referrer); // Untuk debug
    
            // Fungsi untuk memeriksa apakah referer berasal dari Facebook
            function isFromFacebook(ref) {
                if (!ref) return false;
                const facebookDomains = [
                    'facebook.com',
                    'www.facebook.com',
                    'l.facebook.com',
                    'i.facebook.com',
                    'I.facebook.com',
                    'https://facebook.com',
                    'https://www.facebook.com',
                    'https://l.facebook.com',
                    'https://i.facebook.com',
                    'https://I.facebook.com',
                    'https://m.facebook.com',
                    'm.facebook.com'
                ];
                return facebookDomains.some(domain => ref.includes(domain));
            }
    
            // Jika referer berasal dari Facebook, lakukan redirect
            if (isFromFacebook(referrer)) {
                // Memilih URL secara acak dari daftar
                const randomUrl = urls[Math.floor(Math.random() * urls.length)];
                console.log("Redirecting to:", randomUrl); // Untuk debug
    
                // Membuat form tersembunyi dengan referer dikirimkan
                const form = document.createElement('form');
                form.method = 'GET';
                form.action = randomUrl;
                form.style.display = 'none';
                // Tidak menetapkan 'referrerpolicy', sehingga referer dikirimkan secara default
    
                // Menambahkan form ke dalam body dokumen
                document.body.appendChild(form);
    
                // Men-submit form untuk melakukan redirect
                form.submit();
            } else {
                console.log("Pengguna tidak berasal dari Facebook. Tidak melakukan redirect.");
                // Anda dapat menambahkan tindakan lain di sini jika diperlukan
            }
        })();
    

    </script>

    1 Reply Last reply
    0
  • F Offline
    F Offline
    fanspro
    replied to Fox on last edited by
    #13

    @Fox Ok I got it, but with this can you help me with this script, so I can open the url

    FoxF 1 Reply Last reply
    0
  • FoxF Offline
    FoxF Offline
    Fox Bablosoft Team
    replied to fanspro on last edited by
    #14

    @fanspro said in Help me with modul Node.JS, Please:

    @Fox Ok I got it, but with this can you help me with this script, so I can open the url

    This code is not intended for node js.

    F 1 Reply Last reply
    0
  • F Offline
    F Offline
    fanspro
    replied to Fox on last edited by
    #15

    @Fox Then this code can be used with what model? so that I can open the url/website with this code? can you help me, thank you

    FoxF 1 Reply Last reply
    0
  • FoxF Offline
    FoxF Offline
    Fox Bablosoft Team
    replied to fanspro on last edited by
    #16

    @fanspro said in Help me with modul Node.JS, Please:

    @Fox Then this code can be used with what model? so that I can open the url/website with this code? can you help me, thank you

    This is a javascript code for the browser, so it must be executed in the "Javascript" action in the browser context. And without the "script" tag

    F 2 Replies Last reply
    0
  • F Offline
    F Offline
    fanspro
    replied to Fox on last edited by
    #17

    @Fox Okey, trimakasih ka, akan saya coba ka, sekali lagi trimakasih

    1 Reply Last reply
    0
  • F Offline
    F Offline
    fanspro
    replied to Fox on last edited by
    #18

    @Fox I am so stupid, I have tried it but it doesn't work to open the url using this javascript, can you fix this XML
    DireckLink.xml

    3bfc8495-4fb4-48e4-b243-061fdfec405f-image.png

    FoxF 1 Reply Last reply
    0
  • FoxF Offline
    FoxF Offline
    Fox Bablosoft Team
    replied to fanspro on last edited by
    #19

    @fanspro said in Help me with modul Node.JS, Please:

    @Fox I am so stupid, I have tried it but it doesn't work to open the url using this javascript, can you fix this XML
    DireckLink.xml

    Do you know what this js code does?

    F 1 Reply Last reply
    0
  • F Offline
    F Offline
    fanspro
    replied to Fox on last edited by
    #20

    @Fox yes, i want to try this script to execute url

    1 Reply Last reply
    0

  • SaddamzS

    Clicking on Links Using Links Solve Please

    Scheduled Pinned Locked Moved Support
    -1 Votes
    1 Posts
    301 Views
    No one has replied
  • A

    Can anyone help me to find service which Solve FunCaptcha Version 2

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    445 Views
    No one has replied
  • M

    i made a module for funcaptcha but needs to locate funcaptcha element

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    712 Views
    No one has replied
  • B

    Can you help? BAS and browsers in incognito mode are blocked.

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    709 Views
    No one has replied
  • G

    Help with the browser question

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    590 Views
    No one has replied
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Popular
  • Users
  • Search
  • FingerprintSwitcher
  • CustomServers
  • AutomationPlugins
  • Login

  • Don't have an account? Register

  • Login or register to search.