this post was submitted on 29 Oct 2024
4 points (83.3% liked)

Text-Based User Interfaces (TUI; CLI)

75 readers
23 users here now

Forum for advanced users who grok the power of text-based apps, the advantage of tmux/GNU screen, the keyboard and who often find the mouse a hinderance to a fast workflow. A text-based UI is also a decent escape from enshitified resources.

This forum broadly covers tools, hacks, and advocacy of text-based environments.

Slightly marginally kind of related:

founded 3 months ago
MODERATORS
 

Tracker pixels are surprisingly commonly used by legitimate senders.. your bank, your insurance company, any company you patronize. These assholes hide a 1-pixel image in HTML that tracks when you open your email and your IP (thus whereabouts).

I use a text-based mail client in part for this reason. But I got sloppy and opened an HTML attachment in a GUI browser without first inspecting the HTML. I inspected the code afterwards. Fuck me, I thought.. a tracker pixel. Then I visited just the hostname in my browser. Got a 403 Forbidden. I was happy to see that.

Can I assume these idiots shot themselves in the foot with a firewall Tor blanket block? Or would the anti-tor firewall be smart enough to make an exception for tracker pixel URLs?

you are viewing a single comment's thread
view the rest of the comments
[–] kchr@lemmy.sdf.org 2 points 1 day ago (1 children)

Good idea to open HTML attachments in an isolated browser. I normally open them in lynx but sometimes it doesn't work as intended.

For any (neo)mutt users out there, you can configure this quite nicely by defining your MIME handlers in ~/.mailcap:

text/html; firejail --net=none [...]

Then bind your Enter key to open attachments via mailcap:

bind attach <return>    view-mailcap
[–] evenwicht@lemmy.sdf.org 1 points 1 day ago* (last edited 20 hours ago)

In neomutt I ended up customizing the print function. So if I “print” an attachment, it launches a script that runs wkhtmltopdf inside firejail --net=none followed by rendering in Firefox (also inside firejail --net=none), so I get an instant isolated firefox view as well as a PDF.

I’m happy with that replacement because I would never want to send something straight to a printer anyway. I would want to preview before printing. And the print function is documented right on the screen when looking at attachments, so no key binding to try to remember.