README.md 7.5 KB

GreaseMonkey-Redirect

This is a collection of user created GreaseMonkey scripts that will convert privacy disrespecting websites to FLOSS frontends.

There is also included some of my own GreaseMonkey scripts here as well. See the Personal Scripts section.

Why?

There are many awful websites on the internet. That's why there have been many projects that allow us to still make use of them but in a more privacy respecting way. Also it gives you the ability to customize to your heart's content.

Frontends Supported

  • Nitter, a libre frontend to Twitter.
  • Invidious, a libre frontend to YouTube.
  • Teddit, a libre frontend to Reddit.
  • Librarian, a libre frontend to Odysee.
  • Bibliogram, a libre frontend to Instagram. (Bibliogram is abandoned)
  • BiblioReads, a libre frontend to Goodreads.
  • SimplyTranslate, a libre frontend to Google Translate and other translation SaaSS.
  • LingvaTranslate, a libre frontend to Google Translate.
  • ProxiTok, a libre frontend to TikTok.
  • Rimgo, a libre frontend to Imgur.
  • Scribe, a libre frontend to Medium websites.
  • Quetre, a libre frontend to Quora.
  • Libremdb, a libre frontend to IMDB.

Scripts here?

These aim to acheive what something like Privacy-Redirect/Libredirect does. All these do is change your URL's domain to a different one.

You could be using Privacy-Redirect/Libredirect. But this is a fun DIY (do-it-yourself) project to make fun of bad privacy disrespecting websites.

Note: This script will work the best in terms of privacy if using a plugin such as uBlock Origin to block all JavaScript on privacy disrespecting websites.

WARNING!

These scripts will may break sometimes because instances of these websites will break from user load or other issues causing servers to crash. This is why these websites have multiple instances. If an instance breaks you can easily replace it with a different instance.

NOT TO FEAR! Just modify!

These scripts don't require coding knowledge to understand what they do. However knowing a bit of JavaScript or maybe python can help. This is a script example to show you how many of these scripts work. Some scripts might be more complicated than this example.

  1. Description of what the script does

    /*
    DESCRIPTION:
    This is a file that after installing a greasemonkey extension can
    be used to convert youtube.com to any invidious instance.
    NOTE: I might change this really often because instances may fail.
    
  2. This is the license ```javascript Copyright (C) 2021 Troler Jeans and other contributors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/. */


3. The name of the script
```javascript
// ==UserScript==
// @name           YouTube to Invidous
  1. Then there is a @namespace write that YOU made this script. If you make a PR with some interesting modification to the script I will try to keep your name and other contributers on it. javascript // @namespace Troler's Youtubvious
  2. The websites the code will apply to, including http and www variants. Change these in your code to the website your trying to redirect from (leave it if you are only changing the instance).

    // @match          http://youtube.com/*
    // @match          https://youtube.com/*
    // @match          http://www.youtube.com/*
    // @match          https://www.youtube.com/*
    // @run-at         document-start
    
  3. Then there is a big block of code this where the magic happens. Just change the link, e.g. , to something you want to replace it with, e.g. .

    // ==/UserScript==
    url = location.href
    url = url.replace(/\bwww\.\b/, "")
    url = url.replace("youtube.com","vid.puffyan.us")
    location.href = url
    

    Scripts that don't work anymore

    Instagram

    instagram-bibliogram.user.js no longer works. Instagram is taking down frontends such as bibliogram for a variety of reasons. Take a look at this article by the bibliogram developer. Other frontends such as dumpor and imginn work more frequently but often break. They also have problems with playing videos. So for the time being use instagram-bibliogram.user.js with caution.

    Similar projects

    Not GreaseMonkey, Great Redirection Projects

    Personal Scripts

    These are seperate from the redirection scripts.

    • Deviant_Art_Age_Bypass.user.js
      • Let's you bypass Deviant Art's age restrictions and see some features without account
    • github-pages.user.js
      • Gets the link for a github pages project and redirects you there on Alt+g I want to make this an extention one day. Github should have this feature. Codeberg implemented a simple link.
    • YouTube_Distraction_Blocker.user.js
      • Blocks some youtube distractions/recomendations. Better extentions exist out there
    • Percentage_Complete_myanimelist.user.js
      • Finds your Percentage complete of an anime on MyAnimeList

    Contribute

    I hope those that contribute and help maintain these scripts have great times with them. As the web changes, so should we.

    Contact me

    Legal notice

    This repository is not affiliated with any of the mentioned companies. Trademarks belong to their respective owners.

    Twitter is a trademark of Twitter Inc. YouTube and Google Translate are trademarks of Google LLC. Reddit is a trademark of Reddit Inc. Odysee is a trademark of Odysee, Inc. Instagram is a trademark of Meta Platforms. Goodreads is a trademark of Amazon Technologies, Inc. TikTok is a trademark of Bytedance Ltd. Imgur is a trademark of IMGUR, INC. Medium is a trademark of A Medium Corporation. Quora is a trademark of Quora Inc.