Page 156 of 160 FirstFirst ... 56106146154155156157158 ... LastLast
Results 1,551 to 1,560 of 1598

Thread: Request a Bot/Feature

  1. #1551
    Swablu's Avatar
    Joined
    Sep 2013
    Posts
    425
    Pronouns
    She/Her
    Userbars
    18
    Thanks
    237
    Thanked
    368/190
    DL/UL
    39/0
    Mentioned
    62 times
    Time Online
    11d 6h 40m
    Avg. Time Online
    4m
    Bilge Dice Auto-Player?

  2. #1552

    Joined
    Nov 2016
    Posts
    702
    Userbars
    32
    Thanks
    394
    Thanked
    545/292
    DL/UL
    49/0
    Mentioned
    45 times
    Time Online
    13d 6h N/A
    Avg. Time Online
    7m
    Quote Originally Posted by Swablu View Post
    Bilge Dice Auto-Player?
    it would be nice if that game was even available!
    Thank you $Infected for the FANTASTIC upgrade to my forum look!

  3. The Following 2 Users Say Thank You to SomeClown For This Useful Post:

    Cinnamoroll (02-21-2024),Shawn (02-19-2024)

  4. #1553
    Nyu's Avatar
    Joined
    Jun 2016
    Posts
    605
    Pronouns
    She
    Userbars
    31
    Thanks
    761
    Thanked
    982/256
    DL/UL
    32/0
    Mentioned
    109 times
    Time Online
    63d 18h 43m
    Avg. Time Online
    32m
    Quote Originally Posted by BunnyAntalpha View Post
    Thank you nyu

    It's done! Go here to grab it!

  5. The Following 2 Users Say Thank You to Nyu For This Useful Post:

    BunnyAntalpha (02-20-2024),Shawn (02-20-2024)

  6. #1554
    Onetwo's Avatar
    Joined
    Dec 2023
    Posts
    90
    Userbars
    8
    Thanks
    89
    Thanked
    109/53
    DL/UL
    3/0
    Mentioned
    2 times
    Time Online
    3d 9h 5m
    Avg. Time Online
    35m
    Quote Originally Posted by Bunnii View Post
    would it be even possible to have a script that is able to show you if something is already in your gallery from your inventory?
    Here is the script:


    Code:
    // ==UserScript==
    // @name           Neopets: Inventory Gallery Checker
    // @description    Check the items in your inventory to see if they are in you gallery. Puts a G on the items that are in your gallery
    // @author         OneTwo
    // @version        1.0
    // @grant          GM_xmlhttpRequest
    // @match          https://www.neopets.com/inventory.phtml
    // ==/UserScript==
    
    var appInsightsUserName;
    
    // Find all script elements on the page
    var scripts = document.querySelectorAll("script");
    
    // Loop through each script element
    scripts.forEach(function(script) {
        // Check if the script contains the users username
        if (script.textContent.includes("var appInsightsUserName")) {
            // Extract the value of appInsightsUserName from the script
            var startIndex = script.textContent.indexOf("'") + 1;
            var endIndex = script.textContent.indexOf("'", startIndex);
            appInsightsUserName = script.textContent.substring(startIndex, endIndex);
    
            return;
        }
    });
    
    // Construct the URL
    var targetPageUrl = "https://www.neopets.com/gallery/index.phtml?" + appInsightsUserName
    
    var galleryItems = [];
    
    (function() {
        'use strict';
    
        // Fetch the target page
        fetch(targetPageUrl)
            .then(response => response.text())
            .then(html => {
            // Create a temporary element to parse the HTML
            const tempElement = document.createElement('div');
            tempElement.innerHTML = html;
    
            // Find the form element
            const formElement = tempElement.querySelector('form#gallery_form');
    
            // Check if the form element exists
            if (formElement) {
    
                // Find the table element within the form
                const tableElement = formElement.querySelector('table');
    
                // Check if the table element exists
                if (tableElement) {
                    // Find all item names in the gallery
                    galleryItems = Array.from(tableElement.querySelectorAll('b.textcolor')).map(item => item.innerText);
    
                    console.log('Extracted item names from the gallery:', galleryItems);
    
                    // Start checking for the inventory items
                    checkForInventoryItems();
                } else {
                    console.log('Table element not found within the form');
                }
            } else {
                console.log('Form element not found');
            }
        })
            .catch(error => console.error('Error fetching page:', error));
    })();
    
    function checkForInventoryItems() {
        // Select the inv grid element using its class name
        var grid = document.querySelector(".itemgrid7__2020.item-grid");
    
        // Check if the grid element is found
        if (grid) {
            // Get all the items within the grid
            var invItems = grid.querySelectorAll(".grid-item");
    
            // Loop through each item in the inventory
            invItems.forEach(function(item) {
                // Extract the name of the item
                var itemName = item.querySelector(".item-name").textContent.trim();
    
                // Check if the item is in the gallery
                if (galleryItems.includes(itemName)) {
                    console.log("Item", itemName, "is in the gallery.");
    
                    // Add a green "G" with a white background next to the matching item in the grid
                    var markElement = document.createElement("div");
                    markElement.textContent = "G";
                    markElement.style.position = "absolute";
                    markElement.style.top = "0";
                    markElement.style.left = "0";
                    markElement.style.color = "green";
                    markElement.style.backgroundColor = "rgba(255, 255, 255, 0.5)"; // Adjust the alpha value as needed (0.0 to 1.0)
                    markElement.style.fontSize = "20px"; // Adjust the font size as needed
                    item.appendChild(markElement);
                }
            });
        } else {
            // If the grid element is not found, wait and then check again
            setTimeout(checkForInventoryItems, 1000); // Check again after 1000ms
        }
    }

  7. The Following 3 Users Say Thank You to Onetwo For This Useful Post:

    Bunnii (02-22-2024),Nyu (02-24-2024),Shawn (02-21-2024)

  8. #1555
    Totodile's Avatar
    Joined
    Sep 2022
    Posts
    1,060
    Pronouns
    🦕☄️🌃
    Userbars
    68
    Thanks
    1,136
    Thanked
    3,676/1,013
    DL/UL
    7/0
    Mentioned
    162 times
    Time Online
    59d 1h 34m
    Avg. Time Online
    2h 23m
    Script to change your pets name on your end only? Example having a pet named Fartmaster114065 but this script can change your pets name (for your eyes only) to either Fart or master?

  9. #1556
    Nyu's Avatar
    Joined
    Jun 2016
    Posts
    605
    Pronouns
    She
    Userbars
    31
    Thanks
    761
    Thanked
    982/256
    DL/UL
    32/0
    Mentioned
    109 times
    Time Online
    63d 18h 43m
    Avg. Time Online
    32m
    Quote Originally Posted by Totodile View Post
    Script to change your pets name on your end only? Example having a pet named Fartmaster114065 but this script can change your pets name (for your eyes only) to either Fart or master?
    Haha, sounds fun!
    It could even replace your own username and other people's maybe!

    I can try to do this when I have some free time c:

  10. The Following 2 Users Say Thank You to Nyu For This Useful Post:

    Kaguya (02-21-2024),Totodile (02-21-2024)

  11. #1557
    Totodile's Avatar
    Joined
    Sep 2022
    Posts
    1,060
    Pronouns
    🦕☄️🌃
    Userbars
    68
    Thanks
    1,136
    Thanked
    3,676/1,013
    DL/UL
    7/0
    Mentioned
    162 times
    Time Online
    59d 1h 34m
    Avg. Time Online
    2h 23m
    Quote Originally Posted by Nyu View Post
    Haha, sounds fun!
    It could even replace your own username and other people's maybe!

    I can try to do this when I have some free time c:
    Thanks for considering Nyu! Looking forward to it!

  12. #1558
    Nyu's Avatar
    Joined
    Jun 2016
    Posts
    605
    Pronouns
    She
    Userbars
    31
    Thanks
    761
    Thanked
    982/256
    DL/UL
    32/0
    Mentioned
    109 times
    Time Online
    63d 18h 43m
    Avg. Time Online
    32m
    Quote Originally Posted by Totodile View Post
    Thanks for considering Nyu! Looking forward to it!

    It's done!

    Grab it here! c:

  13. #1559
    Bunnii's Avatar
    Joined
    Jan 2014
    Posts
    524
    Pronouns
    🍏
    Userbars
    59
    Thanks
    1,989
    Thanked
    1,793/513
    DL/UL
    7/0
    Mentioned
    84 times
    Time Online
    28d 5h 2m
    Avg. Time Online
    10m
    Could I add a little request on top of this? Could there be a way to create a note of some kind on others' usernames?

    (you need an account to see links)
    ・・♡ custom nc/np outfits ☆・・



    pfp/ryu/siggy bar by the amazing (you need an account to see links)
    avatar by the great (you need an account to see links)


  14. #1560
    Nyu's Avatar
    Joined
    Jun 2016
    Posts
    605
    Pronouns
    She
    Userbars
    31
    Thanks
    761
    Thanked
    982/256
    DL/UL
    32/0
    Mentioned
    109 times
    Time Online
    63d 18h 43m
    Avg. Time Online
    32m
    Quote Originally Posted by Bunnii View Post
    Could I add a little request on top of this? Could there be a way to create a note of some kind on others' usernames?
    Do you mean an user tagger like the one on reddit? (that works ok with this one)

    Or are you thinking of something else? Like the original name appears when your mouse is over it?

Page 156 of 160 FirstFirst ... 56106146154155156157158 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •