Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Reddit VO
- // @namespace http://tampermonkey.net/
- // @version 1.0
- // @description Supprime l'argument ?tl=fr des URLs de Reddit
- // @author Ja_Shi
- // @match *://*.reddit.com/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- let url = new URL(window.location.href);
- if (url.searchParams.has('tl')) {
- url.searchParams.delete('tl');
- window.history.replaceState(null, '', url);
- window.location.reload();
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment