Last active
April 13, 2025 16:36
-
-
Save zImPatrick/3471ead4cbcf05e70644a628721c51d1 to your computer and use it in GitHub Desktop.
reddit translation remover
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Reddit Translation Remover | |
// @namespace https://patriick.dev | |
// @version 2024-09-10 | |
// @description removes the ?tl parameter that you get from google search results | |
// @author patriick.dev | |
// @match https://www.reddit.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const url = new URLSearchParams(window.location.search); | |
if (url.has("tl")) { | |
url.delete("tl"); | |
window.location.search = url.toString(); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment