Disconnet addon will not install in Abrowser

19 replies [Last post]
GNUbahn
Offline
Joined: 02/18/2016

since the .xpi is said to be corrupted.

Has anyone had (and solved) the same issue?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

https://addons.mozilla.org/firefox/downloads/file/621553/disconnect-5.18.21-an+fx-linux.xpi works here (I have just successfully installed it... and removed it since, as far as I understood, Privacy Badger does the same job).

SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

May I recommend umatrix?

GNUbahn
Offline
Joined: 02/18/2016

Can you?

GNUbahn
Offline
Joined: 02/18/2016

Hmm, I was trying to install through the add-ons menu in abrowser. That didan't work and I have experienced that before. I will try they way you did it.

I tried Privacy Badger once but recall is as quite cumbersome to use. Is that your experience? How is it to use on a daily basis?

GNUbahn
Offline
Joined: 02/18/2016

.

Substance2004
Offline
Joined: 11/05/2013

As we're chating about addons in Abrowser, I have many problems to install some of my favourite addons like unplug, downthemall, decentraleyes... since the version 58.

I've tried both with Abrowser with Trisquel links and from Mozilla website.
It simply refuses to install it. And Mozilla doesn't recognize I'm on a fork. I don't know what's happening.

I even haven't got something like Random Agent Spoofer to hide Abrowser fingerprint installed on it (I can't install it as well).

Icecat is ok.

I meet this both on Trisquel 7 and 8.

Does anyone have the same problem ?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

The support for extensions relying on the older (and problematic, because tightly coupled with Firefox's core) XUL and XPCOM APIs have been disabled since Firefox 57, in favor of WebExtensions. After a rather long period of transition. Indeed, the WebExtensions API has been considered stable since Firefox 48; https://blog.mozilla.org/addons/2016/04/29/webextensions-in-firefox-48/

Abrowser 58 being a derivative of Firefox 58, it only supports WebExtensions. GNU IceCat is a derivative of Firefox LTS. As a consequence, it is still at version 52 and supports older extensions that were not ported to WebExtensions.

The changes that Firefox 57 brought were discussed on this forum: https://trisquel.info/forum/quantum-kicks-ass

Substance2004
Offline
Joined: 11/05/2013

It seems it still remains possible to get Chrome and Opera addons in Firefox 57 (so Abrowser57) through Chrome Store Foxified addon (MPL v2) https://addons.mozilla.org/fr/firefox/addon/chrome-store-foxified/ as says this french article : http://www.papergeek.fr/firefox-comment-y-installer-des-extensions-google-chrome-opera-81008

I don't really like this option, but even if Chrome Store Foxified addon should work on Mozilla 57, Firefox website tells me to download Firefox on Abrowser.

Even Supertramp83 have NoScript installed on Abrowser and I can't have it.
https://trisquel.info/fr/forum/quantum-kicks-ass#comment-123629

Have I missed something ?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010
Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010
SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

>Even Supertramp83 have NoScript installed on Abrowser

I don't use Abrowser but vanilla Firefox on Debiannino.

Btw I'm considering removing noscript as it would appear to be redundant with the umatrix addon.

o/

GNUbahn
Offline
Joined: 02/18/2016

I just installed uMatrix to try it out.

According this thread on reddit (last post): https://www.reddit.com/r/FirefoxAddons/comments/35ytka/umatrix_privacy_settings_other_addons/

You want to keep NoScript for the XSS protection.
uMatrix will block javascript very well. But once you allow some javascript, it steps aside. NoScript will still scan allowed javascript for obvious XSS attempts and prevent it.

I don't have the 'Privacy' tab and can't seem to find info about it. Did you do anything to make it visible or so?

Substance2004
Offline
Joined: 11/05/2013

Thank you, I've already heard about it but I can't install it at this adress on Abrowser
https://addons.mozilla.org/en-US/firefox/addon/umatrix/

The website asks me to download Firefox. As well on Chrome and Opera website for their respective browsers.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

I believe that quidam sets an older and more common user agent to mitigate fingerprinting. You can right-click on the button "+ Add to Firefox" to then copy the link and paste it in the address bar.

Substance2004
Offline
Joined: 11/05/2013

I still can go to Panopticlick to test it.
Indeed, I succeed to install addons with the right-click method. Thank you.

But with all those warnings from Mozilla website, I have to admit this is not... very easy to think about this solution.
Even the mouse pointer turns to forbidden link when you point on add to Firefox button.
And this may be a prejudice for us when a new user install Trisquel as ABrowser is our default browser.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Indeed. The real solution is to add the free software add-ons to Abrowser's catalog, https://trisquel.info/en/browser/addons that is also accessible through Abrowser's menu. I do not know who takes care of that list. Adding add-ons in decreasing order of popularity (https://addons.mozilla.org/en-US/firefox/search/?platform=linux&sort=users lists them in that order) looks like a good strategy. However, https://addons.mozilla.org lists proprietary add-ons, hence Abrowser's specific catalog. If I find time, I may try to automate the license check.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Here is a script (basically one line) that downloads the pages of add-ons from addons.mozilla.org (calling it with no argument display usage info):
#!/bin/sh
# Copyright 2018 Loïc Cerf (lcerf [at] dcc.ufmg.br)
# 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.
# See http://www.gnu.org/licenses/
if [ -z "$1" ]
then
printf "Usage: $0 LAST
or: $0 FIRST LAST
or: $0 FIRST INCREMENT LAST
Download the pages with the most popular Firefox add-ons
(25 add-ons/page) from FIRST to LAST, in steps of INCREMENT.
"
exit
fi
mkdir -p pop-n-free
seq $@ | sed -e 's/^/?page=/' -e 's/$/\&platform=linux\&sort=users/' | wget -B https://addons.mozilla.org/en-US/firefox/search/ -i - -O - | grep -o '[^/]*/?src=search' | cut -d / -f 1 | tee -a pop-n-free/list | wget -B https://addons.mozilla.org/en-US/firefox/addon/ -i - -P pop-n-free/addons

And here is another script that takes in argument the directory created by the previous script (or even nothing if the directory is not renamed and the script is called from the parent directory) and classify the add-ons w.r.t. their licenses, either asking or automatically, if it has already got the answer (in the same execution, a previous execution or even during the execution of another user who would have shared her accept/reject files):
#!/bin/sh
# Copyright 2018 Loïc Cerf (lcerf [at] dcc.ufmg.br)
# 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.
# See http://www.gnu.org/licenses/
if [ -n "$1" ]
then
dir=${1%/}
else
dir=pop-n-free
fi
if ! [ -e "$dir/list" ]
then
printf "Usage: $0 [pop-n-free-dir]
"
exit
fi
touch $dir/accept $dir/reject
while [ -s $dir/list ]
do
a=$(head -1 $dir/list)
license=$(grep -o '"license":{[^}]*,"name":"[^"]*' $dir/addons/$a | sed -n '1 s/.*"//p')
if grep -qx "$license" $dir/accept
then
printf "$a is under the $license, which is accepted.
"
printf "https://addons.mozilla.org/en-US/firefox/addon/$a
" >> $dir/to-add
else
if grep -qx "$license" $dir/reject
then
printf "$a is under the $license, which is rejected.
"
else
while true; do
read -p "$a is under the $license. Is it an acceptable license? [y/n] " yn
case $yn in
[yY]*) printf "https://addons.mozilla.org/en-US/firefox/addon/$a
" >> $dir/to-add; printf "$license
" >> $dir/accept; break;;
[nN]*) yn=''; printf "$license
" >> $dir/reject; break;;
* ) printf "Please answer \"y\" or \"n\".
";;
esac
done
fi
fi
sed -i 1d $dir/list
rm $dir/addons/$a
done
printf "
$(wc -l < $dir/to-add) add-ons to potentially add to Abrowser's catalog:
"
cat $dir/to-add
printf "
Further check their free software status before adding them and
remove the related lines from $dir/to-add, once done.
"

It is not perfect. For instance, HTTPS Everywhere has "Multiple" for a license. In that case, there is a free software license among the "multiple". But that is not necessarily the case and "Multiple" had better be rejected to err on the safe side the classification of the future add-ons with the same license.

We could imagine a one-day "event" where every volunteer would be given a page number (to be written twice in argument of the first script) and would take care of the 25 add-ons on the related page, up to the inclusion in Abrowser's catalog if they are free software.

SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

>You want to keep NoScript for the XSS protection.

True, although I only really allow js on a couple or so websites. Guess I'll keep it anyway, always loved that addon.
o/

Substance2004
Offline
Joined: 11/05/2013

Thank you guys for theses good links.

If I "quite" understand what's going on with addons on Firedox 57, I would really appreciate your advices on how to get some good addons on new Abrowser. I miss for example a good video downloader and I used Downthemall with unplug.

I have uBock origin, canevas blocker, httpseverywhere, privacy badger and Greasemonkey with View Tube script but this is not working for downloading every video.

Thanks in advance.