reddit / emacs

Emacs Web Wowser

BilboBaggings123 · 2022-12-14 19:53
I've recently become interested in Emacs, and was wondering if eww (emacs web wowser) is good in terms of privacy? ​ Im currently using brave, which automatically blocks all ads and trackers, and (or so they claim) does not fingerprint or record your online activity. ​ Or would it be possible to run the Brave browser in Emacs?
[deleted] · 2022-12-14 22:46
There is a point where using emacs for everything becomes a disability, and web browsing is one of those points. If you want a browser for privacy, take LibreWolf and harden it a bit more.
BilboBaggings123 · 2022-12-14 23:03
Why do you think it becomes a disability? Also, if use LibreWolf or some other browser, I could open it using an emacs window if i use emacs as window manager right?
[deleted] · 2022-12-15 00:18
I don't know how the emacs window manager works. > Why do you think it becomes a disability? Lack of functionality, and it isn't as fast.
CorysInTheHouse69 · 2022-12-15 08:12
Yes you could open the browser as an emacs buffer. I actually use eww a lot for text browsing (like wikipedia, documentation, or recently advent of code). But anything that requires JavaScript it can’t do. I use Firefox for most of my browsing. Through vimium, about:config, and my gtk settings I have made it take emacs keybinds for text, eww keybinds for browsing, and removed most of the gui elements. When I launch it inside exwm it works exactly as eww does. It’s basically an eww clone. It’s really nice. This would also work with librewolf. (Note about vimium: yes it’s called *vim*ium but it has nothing to do with vim. It just makes Firefox take vim keybinds out of the box if you have it. But it really is just an easy way to program in your own keybinds to Firefox. My config has firefox taking all emacs keys, no vim)
BilboBaggings123 · 2022-12-15 09:13
Ah okay, hmmmm So maybe just using vim and seperate programs for everything else, might be better?
BilboBaggings123 · 2022-12-15 09:18
Cool, thanks!
[deleted] · 2022-12-15 13:12
Emacs functions as a great text editor. Use what works best, or what what works best for yourself, which I suspect a proper browser would do best.
BilboBaggings123 · 2022-12-15 13:38
Okay, thanks!
0lMon · 2022-12-15 18:36
How do you manage key bindings involving ctrl, like c-n? I tried with tridactyl to achieve what you wrote but kinda failed. I am looking at nyxt browser but it is not their yet
CorysInTheHouse69 · 2022-12-15 18:48
Certain keybinds are hardcoded into firefox, like C-n. You can’t unbind it. But you can change the modifier. So C-n is actually PRIMARYMODIFIER-n. So you can change it to alt or super or nothing if you 100% want them all gone. This can be done in about:config. I have changed the Firefox keybind modifier to alt so for me C-n goes down in the page (done with vimium) and M-n opens a new window.
jumper047 · 2022-12-16 10:20
You can change Firefox's default modifier to other key (so new tab will be, for example, A-n and you will be ablrle to bind C-n to "down"). You can check [my config for tridactyl](https://github.com/jumper047/tridactyl_emacs_config) - I described it in readme