zortazert f64aaf34e0 Merge pull request 'Formatting changes' (#14) from pigeon/greasemonkey-redirect:main into main | hai 2 meses | |
---|---|---|
scripts | hai 3 meses | |
LICENSE.md | %!s(int64=3) %!d(string=hai) anos | |
README.md | hai 6 meses |
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.
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.
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.
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.
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.
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.
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
javascript
// @namespace Troler's Youtubvious
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
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
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.
These are seperate from the redirection scripts.
Deviant_Art_Age_Bypass.user.js
github-pages.user.js
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
Percentage_Complete_myanimelist.user.js
I hope those that contribute and help maintain these scripts have great times with them. As the web changes, so should we.
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.