// ==UserScript== // @name Shorter Link Locks // @namespace http://tampermonkey.net/ // @version 0.1 // @description Make Link Locks Shorter and add "Check for IP Grabber" link next to it // @author Chud // @match https://soyjak.party/* // @match https://soyjak.st/* // @grant none // ==/UserScript== (function() { 'use strict'; // Get all anchor (a) tags on the page const links = Array.from(document.getElementsByTagName('a')); // Loop through each link and check if it matches the pattern links.forEach(elem => { // If the link has a href and it starts with 'https://soyjak.party/link-lock/#' or 'https://soyjak.st/link-lock/#' if (elem.href && (elem.href.startsWith('https://soyjak.party/link-lock/#') || elem.href.startsWith('https://soyjak.st/link-lock/#'))) { // Change the inner HTML of the link to indicate it's locked, making it bold elem.innerHTML = 'Locked Link (Click to Decrypt)'; // Create the "Check for IP Grabber" link with the modified URL const checkIPGrabberLink = document.createElement('a'); if (elem.href.startsWith('https://soyjak.party')) { checkIPGrabberLink.href = elem.href.replace('https://soyjak.party/link-lock/#', 'https://soyjak.party/link-lock/decrypt/#'); } else if (elem.href.startsWith('https://soyjak.st')) { checkIPGrabberLink.href = elem.href.replace('https://soyjak.st/link-lock/#', 'https://soyjak.st/link-lock/decrypt/#'); } checkIPGrabberLink.textContent = '| (Check for IP Grabber)'; checkIPGrabberLink.style.color = 'limegreen'; checkIPGrabberLink.style.marginLeft = '5px'; // Add a bit of space between the original link and the new one checkIPGrabberLink.style.fontWeight = 'bold'; // Append the "Check for IP Grabber" link immediately after the locked text inside the link elem.appendChild(checkIPGrabberLink); } }); })();