Re: Re: [dev] what is a suckless way to add a few keyboard shortcuts to Firefox

2024-01-10 Thread climbTheStairs
Страхиња Радић  wrote:

> There's really no need to use any other ad blocker besides uMatrix. It is
> enough and better than other ad blockers.

How would you do this?
I use uMatrix as a privacy tool to block unwanted third-party requests,
but does it really have the functionality of content/ad blockers like uBlock
Origin?

As far as I know, uMatrix can only block by domain, and it cannot block
only specific URLs under a domain.  For example, uMatrix cannot block
a request to "https://discord.com/api/v9/science; while still allowing
requests to other URLs starting with "discord.com".
Is there a way around this?



Re: Re: [dev] what is a suckless way to add a few keyboard shortcuts to Firefox

2024-01-08 Thread Страхиња Радић
On 24/01/07 04:05PM, stefan1 wrote:
> However, I also have a question:
> Should I run noscript and ublock alongside umatrix in case something slips
> through the cracks in my umatrix configuration?

There's really no need to use any other ad blocker besides uMatrix. It is 
enough and better than other ad blockers.


> And how I set up umatrix to, for example, block third-party css by default?

Right click uMatrix button -> Options -> My rules. Syntax:

https://github.com/gorhill/uMatrix/wiki/Rules-syntax



signature.asc
Description: PGP signature


Re: [dev] what is a suckless way to add a few keyboard shortcuts to Firefox

2024-01-07 Thread stefan11111

On 2024-01-05 14:33, Страхиња Радић wrote:

On 24/01/05 02:08PM, stefan1 wrote:
Aside from ungoogled chromium, which browser would you say it's worth 
using?
Preferably not chromium based and not tied to google/mozilla/big

company>'s whims and shady interests.


That's the catch--The Web has grown too complicated over the years for 
someone
to try and create an independent engine which would be capable of 
rendering it.
And then the issue of maintenance would arise. Big Tech would very 
likely still
want, and eventually probably succeed, to get a stranglehold on it, or 
diminish

it in any way possible.

Currently, there are only a handful of "proper" engines, all controlled 
by
Google/Mozilla/Apple/Microsoft. Aside from Apple's Webkit, which falls 
into
this first category, and all the browsers using it, like surf, Badwolf, 
and a

plethora of others, there are projects like:

- NetSurf, on life support for years now
	- ELinks, lynx, w3m and other textual browsers, not actually usable 
for

  most "modern Web"

I'm not a "fan" of Chromium nor Google. It just happens that 
**Ungoogled**

Chromium **with uMatrix** at the moment is the least evil to handle the
relatively necessary evil of current Web.

I was a Netscape user since 1996, and later a Firefox user, but like I 
said,
today's Firefox is simply not the same piece of software that Netscape 
and
first versions of Firefox were. Even for "normies", seemingly minor 
things like
changes to the UI and removal of features and possibilities for 
customization

are visible and a sign of not everything being quite as it should.


A followup.
I decided to give a try to ematrix, umatrix for palemoon.
I also decided to give gtk2 a try and converted my desktop from gtk3 to 
gtk2.


I must say that I'm pleasantly surprised.
umatrix really seems to be way more powerful that noscript and ublock, 
enabling me to block entire classes of requests.
gtk2 seems way more lean that gtk3, palemoon is snappier and uses less 
resources.
Also, gtk2 is EoL, so I can freely hack on it without fear that I'll 
need to rebase patches int the future.


However, I also have a question:
Should I run noscript and ublock alongside umatrix in case something 
slips through the cracks in my umatrix configuration?
And how I set up umatrix to, for example, block third-party css by 
default?


Also, read a bit more on that site you posted:

https://digdeeper.club/articles/mozilla.xhtml#pulse

I do have librewolf, which is basically firefox installed on a laptop, 
because I need webrtc, and I don't have pulseaudio installed.
I do have apulse installed, because my mic doesn't work otherwise, but 
just for playing sound, I can use pure alsa.

So I don't see how firefox doesn't work without pulseaudio.
--
Linux-gentoo-x86_64-Intel-R-_Core-TM-_i5-7400_CPU_@_3.00GHz

COMMON_FLAGS="-O3 -pipe -march=native -ftree-vectorize -ffast-math 
-funswitch-loops -fuse-linker-plugin -flto -fdevirtualize-at-ltrans 
-fno-plt -fno-semantic-interposition -fno-common -falign-functions=32 
-fgraphite-identity -floop-nest-optimize"


USE="-* git verify-sig rsync-verify man alsa X grub ssl ipv6 lto 
libressl olde-gentoo asm native-symlinks threads jit jumbo-build minimal 
strip system-man"


INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd 
/usr/lib/modules-load.d /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus 
/lib/udev /usr/share/icons /usr/share/applications 
/usr/share/gtk-3.0/emoji /usr/lib64/palemoon/gtk2"




Re: [dev] what is a suckless way to add a few keyboard shortcuts to Firefox

2024-01-05 Thread Страхиња Радић
On 24/01/05 02:08PM, stefan1 wrote:
> Aside from ungoogled chromium, which browser would you say it's worth using?
> Preferably not chromium based and not tied to google/mozilla/ company>'s whims and shady interests.

That's the catch--The Web has grown too complicated over the years for someone 
to try and create an independent engine which would be capable of rendering it. 
And then the issue of maintenance would arise. Big Tech would very likely still 
want, and eventually probably succeed, to get a stranglehold on it, or diminish 
it in any way possible.

Currently, there are only a handful of "proper" engines, all controlled by 
Google/Mozilla/Apple/Microsoft. Aside from Apple's Webkit, which falls into 
this first category, and all the browsers using it, like surf, Badwolf, and a 
plethora of others, there are projects like:

- NetSurf, on life support for years now
- ELinks, lynx, w3m and other textual browsers, not actually usable for 
  most "modern Web"

I'm not a "fan" of Chromium nor Google. It just happens that **Ungoogled** 
Chromium **with uMatrix** at the moment is the least evil to handle the 
relatively necessary evil of current Web.

I was a Netscape user since 1996, and later a Firefox user, but like I said, 
today's Firefox is simply not the same piece of software that Netscape and 
first versions of Firefox were. Even for "normies", seemingly minor things like 
changes to the UI and removal of features and possibilities for customization 
are visible and a sign of not everything being quite as it should.




signature.asc
Description: PGP signature


Re: [dev] what is a suckless way to add a few keyboard shortcuts to Firefox

2024-01-05 Thread stefan11111

On 2024-01-05 07:14, Страхиња Радић wrote:

On 24/01/05 04:14AM, stefan1 wrote:

Maybe even remove my desktop all together at that point. :)


Root window + st, with a terminal multiplexer is all that is needed. 
Desktop
icons are just eye candy, and inefficient when moving a mouse to a 
specific
place on the screen and double-clicking without moving the mouse is 
compared to
much faster and accurate pressing a shortcut key spawning a dmenu_run, 
followed

by typing a few distinctive characters and pressing Enter.



Who said anything about desktop icons? I use dwm, st, and dmenu.
There's no way I would use a bloated desktop that makes my ram usage be
measured in GB right after starting xorg.




Sadly, I still need to browse the web because there's a lot of useful
information out there on the web. Thankfully, noscript and ublock 
origin filter

most of the bloat.

 There is librewolf which comes with privacy features by default.
There is palemoon which is forked from old Firefox, and is both 
lightweight

and more privacy -focused than Firefox.

Chromium is far too bloated for me to seriously think of using it. It 
takes
more than twice as long as Firefox to compile and has extra 
dependencies and

is, well, chromium, maintained by Google.


About this, there is a (still kicking as of now) website offering a 
thorough

analysis: DigDeeper, as well as some other websites.

- uBlock Origin vs uMatrix:
https://digdeeper.club/articles/addons.xhtml#adblockers

- NoScript vs uMatrix:
https://digdeeper.club/articles/addons.xhtml#noscript

- Librewolf telemetry:
https://sizeof.cat/post/web-browser-telemetry/#librewolf
  vs Ungoogled Chromium telemetry:
https://sizeof.cat/post/web-browser-telemetry/#ungoogled-chromium

- Palemoon:
https://digdeeper.club/articles/browsers.xhtml#palemoon

- Mozilla Inc has its own dedicated article:
https://digdeeper.club/articles/mozilla.xhtml


Interesting read.
Quote from there:

They both have hounded the OpenBSD packagers (archive) (MozArchive) 
because they wanted to use system libs which would be "deviating from 
official >configuration" - something the PM devs hate. They also 
hardcode compiler parameters, especially with libvpx to use specific 
opcodes instead of using >whatever the user or operating system sets 
${CFLAGS}/${CXXFLAGS} to, breaking portability with different CPUs and 
operating systems.


I also dislike Moonchild's obsession with bundled libs, and sadly, some 
options for building palemoon with system libs are broken.

Also, it's build script uses python2...

Aside from ungoogled chromium, which browser would you say it's worth 
using?
Preferably not chromium based and not tied to google/mozilla/company>'s whims and shady interests.

--
Linux-gentoo-x86_64-Intel-R-_Core-TM-_i5-7400_CPU_@_3.00GHz

COMMON_FLAGS="-O3 -pipe -march=native -ftree-vectorize -ffast-math 
-funswitch-loops -fuse-linker-plugin -flto -fdevirtualize-at-ltrans 
-fno-plt -fno-semantic-interposition -fno-common -falign-functions=32 
-fgraphite-identity -floop-nest-optimize"


USE="-* git verify-sig rsync-verify man alsa X grub ssl ipv6 lto 
libressl olde-gentoo asm native-symlinks threads jit jumbo-build minimal 
strip system-man"


INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd 
/usr/lib/modules-load.d /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus 
/lib/udev /usr/share/icons /usr/share/applications 
/usr/share/gtk-3.0/emoji /usr/lib64/palemoon/gtk2"




Re: [dev] what is a suckless way to add a few keyboard shortcuts to Firefox

2024-01-04 Thread Страхиња Радић
On 24/01/05 04:14AM, stefan1 wrote:
> Maybe even remove my desktop all together at that point. :) 

Root window + st, with a terminal multiplexer is all that is needed. Desktop 
icons are just eye candy, and inefficient when moving a mouse to a specific 
place on the screen and double-clicking without moving the mouse is compared to 
much faster and accurate pressing a shortcut key spawning a dmenu_run, followed 
by typing a few distinctive characters and pressing Enter.


> Sadly, I still need to browse the web because there's a lot of useful 
> information out there on the web. Thankfully, noscript and ublock origin 
> filter 
> most of the bloat.
> 
>  There is librewolf which comes with privacy features by default.
> There is palemoon which is forked from old Firefox, and is both lightweight 
> and more privacy -focused than Firefox.
> 
> Chromium is far too bloated for me to seriously think of using it. It takes 
> more than twice as long as Firefox to compile and has extra dependencies and 
> is, well, chromium, maintained by Google.

About this, there is a (still kicking as of now) website offering a thorough 
analysis: DigDeeper, as well as some other websites.

- uBlock Origin vs uMatrix:
https://digdeeper.club/articles/addons.xhtml#adblockers

- NoScript vs uMatrix:
https://digdeeper.club/articles/addons.xhtml#noscript

- Librewolf telemetry:
https://sizeof.cat/post/web-browser-telemetry/#librewolf
  vs Ungoogled Chromium telemetry:
https://sizeof.cat/post/web-browser-telemetry/#ungoogled-chromium

- Palemoon:
https://digdeeper.club/articles/browsers.xhtml#palemoon

- Mozilla Inc has its own dedicated article:
https://digdeeper.club/articles/mozilla.xhtml


signature.asc
Description: PGP signature


Re: [dev] what is a suckless way to add a few keyboard shortcuts to Firefox

2024-01-04 Thread stefan11111



În 4 ianuarie 2024 21:23:54 EET, "Страхиња Радић"  a 
scris:
>> what is a suckless way to add a few keyboard shortcuts to Firefox
>
>Edit its source code (unironically). Anyone who would laugh at this proposal 
>doesn't actually understand or accept suckless philosophy.
>
>* * *
>
>BTW, Web sucks => any browser sucks. But besides that, Firefox is worse than
>Google Chrome when it comes to privacy. Among the many examples of scummy 
>mechanisms embedded into Firefox is its addon system: it now requires an 
>account. Firefox is light years away (in a bad way) from its beginnings and 
>Netscape.
>
>Ungoogled Chromium is still the overall better solution as of now, but like I 
>said, Web itself sucks.

I do agree that the web sucks and would rather only use the internet via email, 
irc and torrents and only have terminal windows open on my desktop. Maybe even 
remove my desktop all together at that point. :)
Sadly, I still need to browse the web because there's a lot of useful 
information out there on the web. Thankfully, noscript and ublock origin filter 
most of the bloat.

 There is librewolf which comes with privacy features by default.
There is palemoon which is forked from old Firefox, and is both lightweight and 
more privacy -focused than Firefox.

Chromium is far too bloated for me to seriously think of using it. It takes 
more than twice as long as Firefox to compile and has extra dependencies and 
is, well, chromium, maintained by Google.
-- 
Linux-gentoo-x86_64-Intel-R-_Core-TM-_i5-7400_CPU_@_3.00GHz

COMMON_FLAGS="-O3 -pipe -march=native -ftree-vectorize -ffast-math 
-funswitch-loops -fuse-linker-plugin -flto -fdevirtualize-at-ltrans -fno-plt 
-fno-semantic-interposition -fno-common -falign-functions=32 
-fgraphite-identity -floop-nest-optimize"

USE="-* git verify-sig rsync-verify man alsa X grub ssl ipv6 lto libressl 
olde-gentoo asm native-symlinks threads jit jumbo-build minimal strip 
system-man"

INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd 
/usr/lib/modules-load.d /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /lib/udev 
/usr/share/icons /usr/share/applications /usr/share/gtk-3.0/emoji 
/usr/lib64/palemoon/gtk2"



Re: [dev] what is a suckless way to add a few keyboard shortcuts to Firefox

2024-01-04 Thread Gustav Johansson
Firefox being the most resource-intensive program I use, I mainly
run it on a separate computer and view it with VNC. With my setup,
if I was okay with adding a mode or a modifier key to each
of the shortcuts, I could set up shortcuts with something like
xmodmap, xdotool, and/or xbindkeys. I could also make a custom
keyboard layout and set it with setxkbmap.

Since I would configure the shortcuts in the window session that
I use only for Firefox, it would be as if they are only for firefox.

I could also configure the shortcuts in my X session outside VNC,
or a special keyboard firmware, but then they would apply for all
graphical programs I use.



Re: [dev] what is a suckless way to add a few keyboard shortcuts to Firefox

2024-01-04 Thread Страхиња Радић
> what is a suckless way to add a few keyboard shortcuts to Firefox

Edit its source code (unironically). Anyone who would laugh at this proposal 
doesn't actually understand or accept suckless philosophy.

* * *

BTW, Web sucks => any browser sucks. But besides that, Firefox is worse than
Google Chrome when it comes to privacy. Among the many examples of scummy 
mechanisms embedded into Firefox is its addon system: it now requires an 
account. Firefox is light years away (in a bad way) from its beginnings and 
Netscape.

Ungoogled Chromium is still the overall better solution as of now, but like I 
said, Web itself sucks.


signature.asc
Description: PGP signature