3 ms·
I approach this differently. There are a few use cases I go to the web for. For each use case that is not a free browsing I create an electron app, that never e
by megous 10y ago
I approach this differently. There are a few use cases I go to the web for. For each use case that is not a free browsing I create an electron app, that never executes any code from the web or uses any external style. It only uses XHR to fetch html pages/json data/other static stuff and then transforms that data and uses it in the custom UI designed for the use case.
For example one use case is collection of news. My app looks almost like a typical RSS feed reader, except that article content is full and interactive. I can inline stupid image galleries that break article flow, I can convert custom video players into a simple <video> tag, I can drop what I don't care for. I can switch between tor/non-tor mode in a secure way that doesn't leak anything and is probably more secure than torbrowser.
I have direct access to any OS programs, so I can easily open m3u8 videos in mpv player on one click or using a keyboard shortcut, or I can download streaming videos locally and convert them to mp4 on the fly, save useful content of the pages to the database, including relevant images, etc.
All JS code is controlled by me, web servers serve me only as data sources.
What is key to make this fun and useful is structuring the app as a unified UI for multiple data sources and to be able to define data sources quickly. Fortunately ES6 generators can be used in a way that makes fetching and transforming data without the need for callbacks, or promises very easy and clear. Adding a new source is usually a matter of minutes.
It is also nice that when improving the UI, I get a new feature for all the websites that I frequent at once.
It allows me to consume content the way I want, without much exposure to tracking. All the website gets from me is an access_log entry, no cookies, nothing.
I'd say I'm quite ahead of the "war" between users and advertising networks.
- lighttower 10y agoThis is brilliant. Can you point us to a repo with MVP to build on?
- hxegon 10y agoDo you have a repo up with the code?
- TeMPOraL 10y agoSeconding. I totally want to start doing this myself. That, and finally write a decent Hacker News suite for Emacs.
- PudgePacket 10y agoBrowsing HN with the built in web browser is surprisingly nice due to HN's simple structure.
- hedora 10y agoWow. Definitely publish the source. Someone will either immediately rewrite it or plugin-ify it, I bet. Either way, you get lots of free labor to work for you.
- raquo 10y agoPackage & sell.
- rasz_pl 10y agoThis sounds exactly like what I do .. for pr0n sites. Sadly I dont share your enthusiasm, its unmanageable in the long term due to all the changes and tweaks webmasters do constantly. Scripts break all the time, something that worked yesterday needs new regex today etc.
- pjc50 10y agoThis sounds like an astonishingly large amount of work for web browsing, but it's definitely using the full freedom of HTML.