Skip to content

Instantly share code, notes, and snippets.

@rishubil
Last active January 27, 2024 02:34
Show Gist options
  • Select an option

  • Save rishubil/712f9ec8f30f3a1e43cf84eabaada40e to your computer and use it in GitHub Desktop.

Select an option

Save rishubil/712f9ec8f30f3a1e43cf84eabaada40e to your computer and use it in GitHub Desktop.

Revisions

  1. rishubil revised this gist Jan 27, 2024. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions redirect-to-nitter.user.js
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    // ==UserScript==
    // @name Redirect to nitter
    // @version 0.0.1
    // @version 0.0.2
    // @description Redirect to nitter
    // @match https://twitter.com/*
    // @match https://x.com/*
    @@ -10,5 +10,5 @@
    // ==/UserScript==

    (function() {
    location.href = `https://nitter.net${location.pathname}`
    location.href = `https://farside.link/nitter${location.pathname}`
    })();
  2. rishubil revised this gist Nov 14, 2023. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions redirect-to-nitter.user.js
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,8 @@
    // @description Redirect to nitter
    // @match https://twitter.com/*
    // @match https://x.com/*
    // @updateURL https://gist.github.com/rishubil/712f9ec8f30f3a1e43cf84eabaada40e/raw/redirect-to-nitter.user.js
    // @downloadURL https://gist.github.com/rishubil/712f9ec8f30f3a1e43cf84eabaada40e/raw/redirect-to-nitter.user.js
    // @run-at document-start
    // ==/UserScript==

  3. rishubil created this gist Nov 14, 2023.
    12 changes: 12 additions & 0 deletions redirect-to-nitter.user.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    // ==UserScript==
    // @name Redirect to nitter
    // @version 0.0.1
    // @description Redirect to nitter
    // @match https://twitter.com/*
    // @match https://x.com/*
    // @run-at document-start
    // ==/UserScript==

    (function() {
    location.href = `https://nitter.net${location.pathname}`
    })();