Support for addons on the browser

I’ve only had two major problems with Sailfish. The other one, lost VPN credentials, has been solved. Please solve this one too - upgrade Gecko and do everything else needed but I know there is a way add-ons for Firefox can work with a fork.

I’ve installed Defender II at https://openrepos.net/content/peterleinchen/defender-ii-updated-encrypted-devices-originated-nodevel (the original defender’s been abandoned for so long that I highly doubt its usefulness) and it does help. Combined with the built-in saving of pages as PDF, I tend to agree the most important addition to browsers is covered. Still, it’s ridiculous not to support the vast wealth of extensions. After all, they aren’t equivalent to ad blocking alone. So - please work on this and find a solution.

2 Likes

Are there any news about an ad blocker for Sailfish 4.4 ?

1 Like

I don’t care about cookies would be fine!
The cookie warnings are really annoying!

I miss an option in Browser settings to just allow Cookies from the visited website itself and blocking all third-part cookies…

Another missing thing is support for WebApps an Service Workers.

1 Like

This works really nicely for me. I only can’t make automatic updates work, otherwise it is quite nice, if you are not scared of using terminal. I definitely recommend using ssh from your PC.

1 Like

Hi, tried to install it via ssh,the first commands worked, but I have an error message:

[defaultuser@Xperia10III ~]$ sudo nano /var/lib/lxc/aliendalvik/extra_config
>>> /etc/sudoers: syntax error near line 98 <<<
sudo: parse error in /etc/sudoers near line 98
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

$ devel-su nano /etc/sudoers
#...
## Read drop-in files from /etc/sudoers.d
## (the '#' here does not indicate a comment)
#includedir /etc/sudoers.d
#12.6.22 ergaenzt fuer adblocker
defaultuser ALL=(ALL) ALL

Could you please help me to finish the installation?

1 Like

Change defaultuser to nemo in the last line, and that should be it.

I’m sorry, but it didn’t work. Here my terminal-output:
[defaultuser@Xperia10III ~]$ curl -L git.io/hosty | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- 0:00:01 --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- 0:00:03 --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- 0:00:03 --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- 0:00:04 --:–:-- 0
100 2398 100 2398 0 0 496 0 0:00:04 0:00:04 --:–:-- 0

======== Welcome to hosty installer ========
========    astrolince.com/hosty    ========

Checking if user has root access...

Requesting sudo...

Do you want to always run the latest version of hosty? (recommended) y/n
y

Installing hosty...
>>> /etc/sudoers: syntax error near line 98 <<<
sudo: parse error in /etc/sudoers near line 98
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

Fixing permissions...
>>> /etc/sudoers: syntax error near line 98 <<<
sudo: parse error in /etc/sudoers near line 98
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

Checking optional dependencies...

Do you want to automatically update your hosts file with latest ads list? (recommended) y/n
n

Done.

If I’m running out of topic, should I start a new issue for that?

There must be something wrong with your sudoers file, did you checked line 98?

My sudoers file only contains 2 uncommented lines

defaultuser ALL=(ALL) ALL
nemo ALL=(ALL) ALL

On Linux distributions you really should not edit the /etc/sudoers file directly, but use sudo visudo.
I do not know how to add visudo or sudo to the phone.

‘pkcon install sudo’

Hi JacekJagosz,
my fault was the second last line, which i ment as a “comment”. After removing the installation worked.
Just one more question:

[defaultuser@Xperia10III ~]$ sudo hosty
There is a problem with the signature, probably hosty repository was compromised, no changes were made to your system.

How could I solve this?

Did you install the dependencies, including cron from openrepos, run curl -L git.io/hosty | sh twice and rebooted your phone? I never got this error, so not sure how I can help.

Hi, I run it twice, but on github there is actual no hint, that I should do a reboot. I rebooted the phone, now I get another message:

[defaultuser@Xperia10III ~]$ sudo hosty
Passwort: 
======== hosty v1.7.6 (10/Mar/21) ========
========   astrolince.com/hosty   ========

/tmp/tmp.lfuYhX: line 22: syntax error: unexpected "("

What if busybox ash does not support some commands in the script? Install full bash and try again…

1 Like

I tried the following:

[defaultuser@Xperia10III ~]$ devel-su pkcon install gnu-bash
Password: 
Auflösen                                                                                  
Fertig                                                                                    
Schwerwiegender Fehler: das installierte busybox-symlinks-bash-1.33.1+git3-1.7.11.jolla.aarch64 steht im Konflikt mit 'gnu-bash', das von dem zu installierenden gnu-bash-5.0.18+git2-1.7.1.jolla.aarch64 bereitgestellt wird
[defaultuser@Xperia10III ~]$ bash -version
bash: illegal option -r

How can I install “full bash” or run “sudo hosty” to finalize the installation astrolince/hosty

Pkcon install zypper
devel-su zypper install gnu-bash and let it remove busybox

1 Like

devel-su pkcon remove busybox-symlinks-bash

It will automaticly install gnu-bash

1 Like