Live data from Hacker News

The Firefox UI Is Now Built with Web Components

briangrinstead.com

191–200 of 260 posts

Re: The Firefox UI Is Now Built with Web Components

#191
post #156
post #51

I'm waiting for Firefox to start using a native context menu on macOS instead of the garbage that they are now using and which doesn't behave anything like any other context menu on macOS. It's luckily on Bugzilla, so I can keep monitoring progress daily. https://bugzilla.mozilla.org/show_bug.cgi?id=34572

There are a couple of other non-native things Firefox does that annoy me. 1. It has its own certificate system. That would be fine if it used that in addition to using the MacOS built in system, but it seems to use it exclusively. 2. It has its own spell checker, which is orders of magnitude worse than the one provided by the native MacOS spell check API. I can't think of any program I've used in the last few years o…

Python doesn't use Mac OS X certificates either. E.g the popular 'requests' package carries its own root certificates bundle (extracted from Mozilla, I believe). I haven't investigated this in details but it has something to do with the version of OpenSSL that comes with Mac OS X.

Re: The Firefox UI Is Now Built with Web Components

#192

Earlier quoted context omitted.

UIBuilder doesn't do incremental updates at all. You might as well use innerHTML and template literals. That's a 0-line library :)

Updates offered by lit-html appear to be very limited. If you change value of expressions it updates the DOM. What about larger changes, such as list items changing? What about child elements being replaced with new ones?

It handles all of that.

Re: The Firefox UI Is Now Built with Web Components

#194
I read the blog post and wasn't able to figure out if this would break userChrome.css.

I'm not that weird about change and normally accept it and end up not caring. But I have tried to get used to tabs on top and it just isn't happening. If I can no longer have that I guess I will need to get used to Safari. Or I will just keep using Firefox and not update and accept the security implications.

Re: The Firefox UI Is Now Built with Web Components

#195

Earlier quoted context omitted.

If you hover the cursor over the word and hit command control d, you’ll get the definition in Firefox.

That's helpful. Thanks. Would still like for it to be in the context menu, though, but this will do in a pinch.

Another trick if you have the new "Magic" trackpads: Select the word, place three fingers on the pad, press down (force press), and you can see the definition of the selected word (will be highlighted in yellow).

Re: The Firefox UI Is Now Built with Web Components

#196
post #78

I built a userChrome.js replacement [+] back when FF 57 came around, that uses an XBL loophole to permit users to add custom javascript to their profiles that would run in the browser context. I wanted to be able to use pre-OS X Lion fullscreen mode, and couldn't find any other way to do it. I'm a little bummed that this loophole is going away in FF 72 (I still can't get pre-Lion fullscreen!). On the other hand, it h…

It’s been so long that I genuinely can’t remember what that full screen mode looked like! Do you have a screenshot by any chance?

The content stretches all the way to the top of the screen. No menu bar, no tab bar, no toolbars.

Re: The Firefox UI Is Now Built with Web Components

#198
post #70

Reminds me of the firefox.html protothingie someone showed a few years ago.

Browser.html, a Servo demo. https://github.com/browserhtml/browserhtml

Looked like this: http://paulrouget.com/bhtml/ but the project died.
Post reply on HN