Skip to content

Instantly share code, notes, and snippets.

@zImPatrick
Last active April 13, 2025 16:36
Show Gist options
  • Save zImPatrick/3471ead4cbcf05e70644a628721c51d1 to your computer and use it in GitHub Desktop.
Save zImPatrick/3471ead4cbcf05e70644a628721c51d1 to your computer and use it in GitHub Desktop.
reddit translation remover
// ==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