Last active
October 25, 2022 07:38
-
-
Save rishubil/87241cd69689aa87dbe6d88f13c4ee31 to your computer and use it in GitHub Desktop.
notranslate-lobsters.user.js
This file contains 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 Add notranslate class on lobste.rs | |
// @description Add notranslate class on lobste.rs | |
// @version 0.0.2 | |
// @match https://lobste.rs/* | |
// @updateURL https://gist.github.com/rishubil/87241cd69689aa87dbe6d88f13c4ee31/raw/notranslate-lobsters.user.js | |
// @downloadURL https://gist.github.com/rishubil/87241cd69689aa87dbe6d88f13c4ee31/raw/notranslate-lobsters.user.js | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.querySelectorAll(".tags").forEach((element) => {element.classList.add("notranslate")}) | |
document.querySelectorAll(".domain").forEach((element) => {element.classList.add("notranslate")}) | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment