您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the newly implemented roblox URL tracking method that roblox injects in their links on their website.
当前为
// ==UserScript== // @name Remove Roblox URL Tracking // @namespace http://tampermonkey.net/ // @version 1.0 // @description Removes the newly implemented roblox URL tracking method that roblox injects in their links on their website. // @author ImFirstPlace // @match *://www.roblox.com/* // @match *://web.roblox.com/* // @icon https://www.google.com/s2/favicons?domain=roblox.com // @grant none // @run-at document-start // @noframes // @license GPL-3.0 License // ==/UserScript== // For some reason userscripts run multiple times on roblox so noframes is added (function() { 'use strict'; const knownTrackingParams = [ "gameSetTypeId", "homePageSessionInfo" ] function sanitizeURL(Url) { var urlSplit = Url.split("?") if (urlSplit.length >= 2) { for (const param of knownTrackingParams) { if (urlSplit[1].includes(param)) { return urlSplit[0] } } console.log(urlSplit) console.log(knownTrackingParams.includes(urlSplit[1])) } return false // Don't bother setting the url exact same thing! } function handleClick(e) { var a = e.target; while (a && !a.href) { a = a.parentElement; } if (!a) { return; } var realUrl = sanitizeURL(a.href) if (realUrl) { a.href = realUrl } console.log(a.href) } document.addEventListener('click', handleClick, true); document.addEventListener('mousedown', handleClick, true); document.addEventListener('touchstart', handleClick, true); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址