Twitch Raid Referral Remover

A simple script to remove the "?referrer=raid" from the URL after raiding to another streamer

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

Advertisement:

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Advertisement:


    // ==UserScript==
    // @name           Twitch Raid Referral Remover
    // @name:de        Twitch Raid Referral Entferner
    // @description    A simple script to remove the "?referrer=raid" from the URL after raiding to another streamer
    // @description:de Ein einfaches Userscript, um nach einem Raid von der URL den Tag `?referrer=raid` zu entfernen.
    // @author         Tirre_G
    // @homepage       https://greasyfork.org/en/scripts/436857-twitch-raid-referral-remover
    // @namespace      https://greasyfork.org/en/users/53355
    // @version        0.2.1
    // @license         The Unlicense
    // @icon           https://www.google.com/s2/favicons?domain=twitch.tv
    // @match          *://*.twitch.tv/*?referrer=raid
    // @match          *://*.twitch.tv/*
    // @grant          none
    // @run-at         document-start
    // ==/UserScript==


    (function() {
        'use strict';
        // listen for changes
        setInterval(function() {
            if (location.href.match(/\?referrer=raid/gi)){
                location.href = location.href.replace(/\?referrer=raid/gi,"");
            }
        }, 500);
    })();