News for hackers. Stuff that matters.

smaddock

They mentioned React is missing timing information in the devtools profiler. This was actually added in React 19.2 which should be helpful for debugging.

https://react.dev/blog/2025/10/01/react-19-2#performance-tra...

Re:Atlassian to buy Loom for nearly $1B on Thursday October 12, 2023 @02:22PM (#37860918)
ShareX uploads videos in a pipeline: record, optimize, then upload.

Loom does this while the video is being recorded to give you the link as fast as possible.

Re:Wine Wayland Driver on Saturday February 25, 2023 @01:33PM (#34939164)
Slack tracks close to the latest releases of Electron. Election also tracks close to the latest Chromium releases [0].

[0] https://releases.electronjs.org

Re:Free, P2P, disposable group video calling app for the web on Saturday December 24, 2022 @12:33AM (#34114288)
It gets difficult when you have users saying they can't connect to each other. Then you have to get a better grasp on networking to understand why they can't, sometimes staring at Chrome's webrtc-internals page hoping something clicks. Otherwise you'll have your hands tied and just assume their network is incompatible. Even with a TURN server configured, the same problem can occur.
Re:Min: A fast, minimal browser that protects your privacy on Wednesday December 14, 2022 @02:25PM (#33988741)
Can you elaborate on which security protections are not used by Electron, and by extension Min?
Re:The WebSocket Handbook on Tuesday January 11, 2022 @11:56AM (#29894080)
It's probably worth mentioning that WebTransport just shipped in Chrome 97 (2022-01-04), which seems to be a worthy successor to WebSockets [0]. It allows for reliable and unreliable modes which is a problem for games using WebSockets, among other things.

[0] https://web.dev/webtransport/

Re:A system in which soft robots “evolve” to walk or climb on Saturday December 18, 2021 @11:37PM (#29611367)
Their comment is in reference to Hayao Miyazaka's thoughts on a particular AI-based animation: https://www.youtube.com/watch?v=ngZ0K3lWKRc
I appreciate that yourself and other folks are engaging in the community to request improvements.

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...

I am an extension developer, but have resigned from engaging with development in the ecosystem. One of my extensions has >300k subscribers on the Chrome Webstore which will be killed by MV3.

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.

Thanks for mentioning this. I've been aware of this group since its announcement, but have been ignorant of the ongoing discussions.

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.

As someone who is intimately familiar with the Chrome extensions internals and is not employed by a big tech company, I believe most of the changes seem like a step in the right direction.*

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.

[0] https://github.com/samuelmaddock/electron-browser-shell

Re:Show HN: Web browser to help programmers think clearly on Tuesday September 07, 2021 @03:00PM (#28448528)
I've been working on adding better support for browser extensions in Electron. It's an absolutely necessary feature for web browsers. Maybe OP can have a look: https://www.npmjs.com/package/electron-chrome-extensions
Re:Stripe Reader on Thursday June 17, 2021 @02:21AM (#27536644)
For those not in the know, 4242 is used as a common test card number.

https://stripe.com/docs/testing#cards

Re:Mighty Makes Google Chrome Faster on Tuesday April 27, 2021 @06:27PM (#26962694)
Wouldn't this completely break accessibility support of such web apps? This is part of the reason why omitting the DOM and rendering a UI with WebGL isn't the best idea. Maybe this could be resolved by sending the accessibility tree to the client, but it seems like a step backwards.
Re:Permission.site on Friday March 26, 2021 @12:12AM (#26588671)
Desktop and window capture is included for all platforms as part of WebRTC.
Tired of walled gardens and increased limitations of Chrome extensions, I'm building enough of the web extensions API to let me run them in my own desktop browser. Eventually I plan to build products from this project.

https://github.com/samuelmaddock/electron-browser-shell

Re:I tried creating a web browser and Google blocked me (2019) on Wednesday January 20, 2021 @06:05PM (#25853123)
Content decryption through the Encrypted Media Extension (EME) web standard.

https://www.w3.org/TR/encrypted-media/

Re:I tried creating a web browser and Google blocked me (2019) on Wednesday January 20, 2021 @06:03PM (#25853101)
At the time of the article, Chromium Edge hadn't been released yet with PlayReady CDM integrated. The followup article I wrote elaborates on these options further.

https://blog.samuelmaddock.com/posts/the-end-of-indie-web-br...

Re:I tried creating a web browser and Google blocked me (2019) on Wednesday January 20, 2021 @05:53PM (#25853023)
The code included in the GitHub repository downloads the closed source Electron binaries. Just for comparison, the full source would look something more like what's accessible here: https://github.com/electron/electron
Re:I tried creating a web browser and Google blocked me (2019) on Wednesday January 20, 2021 @04:32PM (#25852279)
I feel you regarding Chromium, I use Firefox as my daily browser. As for building my own browser, Electron/Chromium just seems like the most achievable option to empower individuals to create a browser.
Re:I tried creating a web browser and Google blocked me (2019) on Wednesday January 20, 2021 @04:28PM (#25852238)
I'm honestly not sure about the legality of downloading from another distributor. I do know that distribution requires a license [0].

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...

Re:I tried creating a web browser and Google blocked me (2019) on Wednesday January 20, 2021 @04:24PM (#25852178)
Oh! That makes sense, they must have moved it from Issues to Discussions. Thanks, I'll update the parent comment.
Re:I tried creating a web browser and Google blocked me (2019) on Wednesday January 20, 2021 @03:30PM (#25851576)
Brave also started out this way—building a browser on top of Electron. [0]

Building something on top of the Chromium project is still building a browser. You're right that it's not building a rendering engine and JavaScript interpreter though.

[0] https://github.com/brave/browser-laptop

Re:I tried creating a web browser and Google blocked me (2019) on Wednesday January 20, 2021 @03:21PM (#25851454)
The intention was to build a media player based on a Chromium-derived web browser. Functionally it would playback content on Netflix, Hulu, and other DRM-enabled services.

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.

Re:I tried creating a web browser and Google blocked me (2019) on Wednesday January 20, 2021 @03:16PM (#25851373)
Blog post author here. Since this post, there's now an option available for DRM-enabled Electron. However, it's only available through a single vendor, castLabs [0].

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...

[3] https://github.com/samuelmaddock/electron-browser-shell

Re:Ask HN: What are you working on? on Thursday January 14, 2021 @08:30PM (#25785750)
Chrome extension support for Electron-based web browsers: https://github.com/samuelmaddock/electron-browser-shell

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.

I'd love to see legislature go through a process like public GitHub pull requests. If we could create a culture similar to the best practices of code reviews, that'd be great.

- Keep changes limited in scope for easier review.

- Open the process to the wider public for inspection.

- Transparent revision history.

Older »