StuffNoOneCaresAbout / Universal-Bypass

Don't waste your time with compliance. Universal Bypass circumvents annoying link shorteners.
https://universal-bypass.org/
The Unlicense
72 stars 8 forks source link

How to Install/Build for Firefox #4

Open FireMasterK opened 4 years ago

FireMasterK commented 4 years ago

Installation Guide: Universal Bypass for Netscape Navigator.zip Download the above zip file and extract it to a directory. Delete injection_script.js and rules.json from the directory. Open about:addons in your browser. Click on Debug Add-ons image Select the directory where you extracted it to.

Build Guide: Install php run php .firefox_build.php

UltraHQ commented 4 years ago

Instructions are still to unclear, I don't understand. I cannot select folders in this debugging mode, only zips. And also there is no .firefox_build.php file in the folder, I extracted, so how am I able to run this?

UltraHQ commented 4 years ago

I managed to get to the part with the building, but when building I always get "fatal: not a git repository (or any of the parent directories): .git" Edit: Now it says: "Warning: file_get_contents(.next_build_id.txt): failed to open stream: No such file or directory in C:\xxx\xxxxx\Desktop\Universal-Bypass.firefox_build.php on line 38" Why is this so god damn hard to build Edit2: Now I managed to build this somehow but when importing to firefox, it says it's damaged. I beg you, please pleaseee prebuild it for us.

FireMasterK commented 4 years ago

Universal Bypass for Firefox.zip

UltraHQ commented 4 years ago

Universal Bypass for Firefox.zip

It's not working. It says, that it cannot be installed, because the addon is damaged. (I tested in normal Firefox and Firefox nightly with the setting enabled, that allow third party addon installing)

Weird, I can install it temporary, but when trying to install it permanently it always says it's damaged.

UltraHQ commented 4 years ago

After ages of researching I found the issue. You need to add the following code to the manifest.json or else the addon won't install:

"applications": { "gecko": { "id": "something@text123", "strict_min_version": "42.0" } }, (I don't know why Github doesn't format it properly but here also on pastebin formatted correctly: https://pastebin.com/raw/iFkcfNsm ) Replace id with something, but leave the @ in it.

Also you need to use Firefox nightly or Firefox ESR and you need to disable xpinstall.signatures.required in about:config. (The normal Firefox won't work, because xpinstall.signatures.required is not taking effect)

And you don't need to use this builder, where you need ages to install php and figure out, how to use it, because it's windows and not linux and then the builder is not even working properly, because it's only giving errors. (I had a hard time using this builder, trust me, it's not fun.)

You can just zip all the files (All files must be directly in the zip, so don't zip a folder containing the files.), if it's not working, disable compression when zipping. Don't forget removing rules.json and injection_script.js

And, finally, don't use the "Universal Bypass for Netscape Navigator.zip" linked here. It's old and some files are missing. Just download all files fresh from the repository. Yes it works. Make sure it looks like this: image

Because I'm very nice I premade it for everyone using firefox. It's the newest as of today (20.07.2020) Don't forget to place it somewhere, where it can stay forever, because Firefox needs it everytime, you start it. (To install, just drag and drop the zip in about:addons, of course only after disabling the setting in about:config.)

Universal-Bypass.zip

NotAProton commented 3 years ago

https://github.com/StuffNoOneCaresAbout/Universal-Bypass/commit/49babfffd1f7ecb1e50d3bcaa30dd117e1d54332 o_O I thought this fork was dead. @FireMasterK, would you be intrested in joining us at Github.com/Universal-Bypass-Renewed/Universal-Bypass, we have re-written the build system from scratch in bash, and integrated it with GitHub actions. If yes then join discord.

FireMasterK commented 3 years ago

It's not maintained, it's an automated update system with GitHub actions.

I'm interested in rewriting and maintaining just the server components of UB (the tracking links skipper, and crowd bypass), if nobody else has done so already.

NotAProton commented 3 years ago

@FireMasterK

I'm interested in rewriting and maintaining just the server components of UB (the tracking links skipper, and crowd bypass), if nobody else has done so already.

That would work out nicely, we haven't started on the server yet. Edit: We got a domain and are starting now.