Skip to content

Instantly share code, notes, and snippets.

@rishubil
Last active October 19, 2024 09:16
Show Gist options
  • Save rishubil/61b813a47af99d22754ddf908b9969f2 to your computer and use it in GitHub Desktop.
Save rishubil/61b813a47af99d22754ddf908b9969f2 to your computer and use it in GitHub Desktop.

Revisions

  1. rishubil revised this gist Oct 19, 2024. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions notranslate-webtoolsweekly.user.js
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,8 @@
    // @description Add notranslate class on webtoolsweekly
    // @version 0.0.1
    // @match https://mailchi.mp/webtoolsweekly/*
    // @updateURL https://gist.github.com/rishubil/61b813a47af99d22754ddf908b9969f2/raw/notranslate-webtoolsweekly.user.js
    // @downloadURL https://gist.github.com/rishubil/61b813a47af99d22754ddf908b9969f2/raw/notranslate-webtoolsweekly.user.js
    // @grant none
    // ==/UserScript==

  2. rishubil created this gist Oct 19, 2024.
    12 changes: 12 additions & 0 deletions notranslate-webtoolsweekly.user.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    // ==UserScript==
    // @name Add notranslate class on webtoolsweekly
    // @description Add notranslate class on webtoolsweekly
    // @version 0.0.1
    // @match https://mailchi.mp/webtoolsweekly/*
    // @grant none
    // ==/UserScript==

    (function() {
    'use strict';
    document.querySelectorAll("a").forEach((element) => {element.classList.add("notranslate")})
    })();