您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
This script removes the annoying "Redirect to external site" notification screen that occurs when clicking on external links in the UE marketplace.
// ==UserScript== // @name UE Marketplace No-Redirect // @namespace http://tampermonkey.net/ // @version 0.2 // @description This script removes the annoying "Redirect to external site" notification screen that occurs when clicking on external links in the UE marketplace. // @author auqust // @match https://www.unrealengine.com/marketplace/en-US/product/* // @icon https://www.google.com/s2/favicons?sz=64&domain=unrealengine.com // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; var links = document.querySelectorAll("a[href*='https://redirect.epicgames.com/?redirectTo=']"); for (var i = 0; i < links.length; i++) { var href = links[i].getAttribute("href"); if (href && href.indexOf("https://redirect.epicgames.com/?redirectTo=") !== -1) { links[i].setAttribute("href", href.replace("https://redirect.epicgames.com/?redirectTo=", "")); } } })();