|Booteille b04ecefaf9 Remove option to rewrite links||1 week ago|
|extension||1 week ago|
|src||1 week ago|
|umatrix||1 month ago|
|.gitignore||1 month ago|
|CHANGELOG.md||1 week ago|
|LICENSE||7 months ago|
|Makefile||4 weeks ago|
|README.md||1 month ago|
|package-lock.json||1 month ago|
|package.json||1 week ago|
|tsconfig.json||1 month ago|
|tslint.json||1 month ago|
|webpack.config.js||4 weeks ago|
Invidition is an extension allowing you to redirect YouTube and Twitter requests to their counterparts before loading them. Invidition has the purpose to not let any YouTube or Twitter requests pass.
If you like this extension, you can make a donation with the libre currency Ğ1. I don’t plan to open donations for any other currency for now. Learn more about Ğ1.
Here is my wallet public ID:
You an also directly click here.
You can download it for Firefox here: https://addons.mozilla.org/firefox/addon/invidition
I have no Google account. I don’t plan to host it on Chrome Play Store. Sources are open and the license is permissive (Public Domain Dedication) so feel free to host it on Chrome Store if you want.
To build this extension from sources, you first need to install nodejs.
git clone https://gitlab.com/Booteille/invidition.git
npm run build
Then. You can either use
make package to generate
sources.zip and load
extension.zip in your browser, either go in the
extension/ folder and run
Invidition is compatible with any other extension, but you will need to configure extensions using WebRequest API, like uMatrix and NoScript. The reason is because these addons tend to block requests before Invidition. In such cases, Invidition never knows it has a request to redirect. I’ll investigate if there is a way to give priority to Invidition over uMatrix and NoScript.
Rulesets and recipes provided are set for invidio.us. If you want to use Invidition for another instance, please, download and update files accordingly.
You can import this ruleset if you want to allow Invidition to automatically work without any action from your part.
To import a ruleset, you have to open uMatrix settings then:
You can use the recipe if you want to be able to allow Invidition to work with most popular instances in two clicks.
To import the recipe, open uMatrix settings then:
You just need to allow requests from your selected instance.
s.ytimg.com scripts are mandatory because of the YouTube iFrame API.
Some websites (like joinmastodon.org) use this API to generate the iFrame.
So, the browser needs first to load a script called
youtube.com and then load a script called
To bypass this need, those two files have been integrated in the extension, so you never have to call youtube to generate the iFrame.
The reason why you need to allow frames is the same explained above: Invidition can’t read the iFrame URL if you block it.