blocktube icon indicating copy to clipboard operation
blocktube copied to clipboard

How to install the extension with Joseph Crowell fix

Open abudulamh opened this issue 1 year ago • 4 comments

Only "ESR, Developer, and Nightly Firefox" or "LibreWolf" or "Floorp"

Install Build Requirements

"Windows"

1- Download Node.js

https://nodejs.org/dist/v20.17.0/node-v20.17.0-x64.msi

2- Download Git

https://git-scm.com/download/win

During Installation of "GIT" Make Sure to Select (Open Git Bash Here) in The Checkbox

3- Download zip and bzip2 You Will Get Error Like (Command Not Found) Because of Zip Command Download "zip.exe" and "bzip2.dll"

https://onboardcloud.dl.sourceforge.net/project/gnuwin32/zip/3.0/zip-3.0-bin.zip?viasf=1 https://onboardcloud.dl.sourceforge.net/project/gnuwin32/bzip2/1.0.5/bzip2-1.0.5-bin.zip?viasf=1

Copy The "zip.exe" and "bzip2.dll" Files to (Program Folder\Git\usr\bin)

4- Install Terser Open Git Bash Terminal npm install terser -g

5- Download Files From (Josephcrowell) Page

https://github.com/josephcrowell/blocktube/archive/refs/heads/master.zip

And Extract The File

Build Package

6- Open (blocktube-master) File Folder

7- Right Click Then Open Git Bash Here

8- ./tools/build.sh firefox

Output Packages Locations

9- /dist/firefox/blocktube_firefox_VERSION.zip

Disable Required Signatures Firefox

10- Type "about:config" in The Address Bar " "Accept"

11- xpinstall.signatures.required " "false"

12- extensions.langpacks.signatures.required " "false"

13- Restart Firefox

14- Open Manage Your Extensions

15- Click Tools Setting Icon

16- Install Add-On From File

17- Click the /dist/firefox/blocktube_firefox_VERSION.zip

18- Click Tools Setting Icon

18- Debug Add-On

19- Find "Temporary Extensions"

20- Click The Load Temporary Add-On Button

21- Select The /dist/firefox/blocktube_firefox_VERSION.zip

22- Restart Firefox

###########################################################################

"Linux"

Install Build Requirements

"Ubuntu"

1- sudo apt install nodejs npm

2- sudo npm install -g terser

"Arch"

1- sudo pacman -S nodejs

2- yay -S terser

3- Clone Repo

git clone https://github.com/josephcrowell/blocktube.git

4- cd blocktube

Build Package

6- ./tools/build.sh firefox

Output Packages Locations

7- /dist/firefox/blocktube_firefox_VERSION.zip

Disable Required Signatures Firefox

8- Type "about:config" in The Address Bar " "Accept"

9- xpinstall.signatures.required " "false"

10- extensions.langpacks.signatures.required " "false"

11- Restart Firefox

12- Open Manage Your Extensions

13- Click Tools Setting Icon

14- Install Add-On From File

15- Click the /dist/firefox/blocktube_firefox_VERSION.zip

16- Click Tools Setting Icon

17- Debug Add-On

18- Find "Temporary Extensions"

19- Click The Load Temporary Add-On Button

20- Select The /dist/firefox/blocktube_firefox_VERSION.zip

21- Restart Firefox

abudulamh avatar Sep 19 '24 07:09 abudulamh

you can just grab it from https://addons.mozilla.org/en-US/firefox/addon/youtube-content-blocker/ now and not have to do all that stuff as it seems he has uploaded it to the Firefox extension store as of yesterday.

JourneyOver avatar Sep 22 '24 15:09 JourneyOver

Before switching to the new plugin, export your config and uninstall the old plugin. Then import the config in the new plugin.

They can't be installed at the same time because their files conflict with each other.

josephcrowell avatar Sep 25 '24 03:09 josephcrowell

They seem to be able to work simultaneously now.

ghost avatar Oct 03 '24 13:10 ghost

Neither of them work at all now and if you had both of them installed, only one of the inject.js scripts loaded for the page.

All of their global variables are the same and overwrite each other.

josephcrowell avatar Oct 04 '24 10:10 josephcrowell