Twitch remove referrer=raid

automatically remove ?referrer=raid from twitch urls

目前為 2020-08-22 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Twitch remove referrer=raid
// @description  automatically remove ?referrer=raid from twitch urls
// @namespace    https://github.com/adrianmgg
// @version      1.0.0
// @author       amgg
// @license      WTFPL
// @compatible   chrome only browser i've tested this on
// @match        https://www.twitch.tv/*
// @match        https://www.twitch.tv
// @grant        unsafeWindow
// @run-at       document-start
// ==/UserScript==

setInterval(function() {
	if (document.location.href.includes("?referrer=raid")) {
		document.location.href = document.location.href.replace("?referrer=raid", "");
	}
}, 250);

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址