1,128 karma · joined Sep 28, 2013 (13y ago) · 82 submissions
sam at samuelmaddock dot com
@SamuelMaddock
comment 9mo ago · link · parent
https://react.dev/blog/2025/10/01/react-19-2#performance-tra...
2.
WebView2 drops future Linux and Mac support(github.com ↗)
13 points · by smaddock · 2y ago · 3 comments
comment 3y ago · link · parent
7.
Fixing the entire Super Mario 64 source code(youtube.com ↗)
3 points · by smaddock · 4y ago · discuss
comment 4y ago · link · parent
comment 5y ago · link · parent
Prior to the group being formed, most discussion regarding MV3 occurred on the Chrome Extensions Google Group [0]. While feedback was accepted and open there, I hadn't seen the Chrome team acting on it to make changes. That's where most of my pessimism on the situation comes from.
I believe the Chrome team's main motivation is removing any functionality in MV3 which would have the possibility of reducing performance in normal browsing. I personally don't have much hope that they'll be backpedaling on any changes.
[0] https://groups.google.com/a/chromium.org/g/chromium-extensio...
comment 5y ago · link · parent
Many ongoing changes are being made in extensions and the web in general to improve security while reducing capabilities in existing applications.
At this point, for more complex use cases such as one of my own, the only hope is building your own web browser with complete control over its systems. I've changed focus to improving Electron for this reason.
Ideally, I'd like to see MV3 continue supporting the persistent context use case as well as maintaining webRequest blocking support.
comment 5y ago · link · parent
Hopefully Google and others are receptive to some of the proposals made in the issues. I recognize the value of reintroducing the persistent capabilities to the SW model.
comment 5y ago · link · parent
I've been working towards implementing greater support for Chrome extensions in Electron which has involved reading and interacting with Chromium code [0].
- Using service workers instead of a hidden background webpage is more idiomatic for web developers.
- Forced non-persistent extensions guides developers to a better implementation which relies on less resources.
*The deprecation of webRequest's blocking behavior is what's most concerning. The implementation in Manifest V2 requires sending a message back and forth between processes with JS processing for each network request which seems to be in part why they redesigned it.
However, that optimization costs so much for innovative ad blocking technologies as gorhill of uBlock Origin has mentioned. When ad blocking begins requiring new methods of detection or filtering, it'll now be up to Chromium maintainers to implement support for it in the new declarativeNetRequest API. This is a tradeoff of performance for reduced flexibility where it is absolutely needed.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
https://blog.samuelmaddock.com/posts/the-end-of-indie-web-br...
comment 5y ago · link · parent
comment 5y ago · link · parent
The risk doesn't seem worth it to use such a workaround for a serious project though.
[0] https://source.chromium.org/chromium/chromium/src/+/master:t...
comment 5y ago · link · parent
The problem isn't the closed source nature of Widevine CDM, but rather that access to use it is rather difficult to come by.
DRM goes against the concept of an Open Web in which anyone can build a web browser without asking permission.
comment 5y ago · link · parent
This is a closed source, downstream effort which means no modifications can be made to Electron itself. All changes must make it upstream to show up in this fork. When asked whether they would eventually merge it upstream, they didn't provide a clear answer [1].
I also wrote a followup blog post with more detail on the current state of DRM options on the web [2]. Spoilers: it's not great.
Regardless of all of these problems, I still hold an interest in browser development and have been working towards making Electron a viable option for building a browser [3].
[0] https://github.com/castlabs/electron-releases
[1] https://github.com/castlabs/electron-releases/discussions/24
[2] https://blog.samuelmaddock.com/posts/the-end-of-indie-web-br...
comment 5y ago · link · parent
Despite a fair amount of folks disliking Electron for replacing traditional desktop apps, I find it's a great fit for building unique web browsers.
I believe there's a lot of opportunity for making interesting web browsers, but building and maintaining them by forking something like Chromium or Firefox is a ton of work.
With Electron, it's possible to create something interesting with a team of one.
29.
Show HN: Minimal Electron web browser with Chrome extension support(github.com ↗)
3 points · by smaddock · 5y ago · discuss
comment 5y ago · link · parent
- Keep changes limited in scope for easier review.
- Open the process to the wider public for inspection.
- Transparent revision history.