News for hackers. Stuff that matters.
Re:Firefox 57 as the first release where only WebExtensions ... by callahad on Saturday February 18, 2017 @12:03PM (#13675513)
> I want the addons to have full control over my browser

I can assure you that you only want this if you can guarantee that your add-ons only do what they claim, don't have security vulnerabilities, and are never acquired and maliciously updated. Otherwise, a permissionless add-on model means a bug in TreeStyleTabs could potentially be used to exfiltrate your entire password database, plant malicious binaries on your system, and destroy local data. If TST had limited permissions along the lines of only being able to manipulate tabs and their UI, that wouldn't be a problem.

> Have you seen "treestyletabs" implementation on chrome? It's a whole other window that has to be started an placed on the left of the screen by user because of the addon limitations.

Firefox will not have this limitation.

Re:Firefox 57 as the first release where only WebExtensions ... by darklajid on Saturday February 18, 2017 @01:09PM (#13675852)
> Firefox will not have this limitation

Is that a statement about future Firefox visions or Firefox 57? I assume you know the gritty details while I'm a rather confused Firefox power user / fan / advocate (using .. addons that are affected, vertical tabs/tree style tabs plus vimperator/pentadactyl mostly).

The outrage The Internet™ seems to feel is probably not about XUL being deprecated/killed. I'd say no user cares about the technology, the only people even caring are probably the addon developers.

From what I can tell, the outrage is mostly due to the impression (and I dearly hope that you will dismiss this as wrong, just like the 'addon limitation' reference above) that the web extension switch happens before popular, polarizing addons are even remotely possible given the new API.

"Will not have this limitation", as in "it won't support that use case in 57 at all" or as in "you can do better than this Chrome extension you describe"?

Re:Firefox 57 as the first release where only WebExtensions ... by pseudalopex on Saturday February 18, 2017 @04:03PM (#13676666)
Firefox 54 will support WebExtension sidebars.[1]

You're basically correct about the APIs, though. Developers of some popular add-ons don't know when or if the APIs they need will be implemented. Support for migrating gradually (embedded WebExtensions) was just released in 51 and will be gone in 57 -- not even a full ESR cycle.

Developer burnout is a problem, too. This comes right after many of them put in significant work making their now-deprecated code multiprocess-compatible, which came after mandatory extension signing, which came after a bunch of UI changes. It's not surprising some of them have quit.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1208596

Re:Firefox 57 as the first release where only WebExtensions ... by callahad on Sunday February 19, 2017 @02:44AM (#13678610)
Pseudalopex pretty much nailed it; Google has strongly resisted adding sidebar APIs to Chrome, or allowing add-ons to hide / relocate the tab bar. Those are two of the major reasons why it's difficult to build a quality Tree Style Tabs add-on for Chrome. Firefox will explicitly include APIs that allow that, which should be landing soon.

Most of these changes and their timelines are motivated by fundamental architectural work happening deep down in Firefox. We're doing the best we can to get as many add-on APIs in place before 57, but for heavy add-on users, it has the potential to be a rough transition.

For deeper meddling in the browser, and for APIs that don't yet exist, WebExtension Experiments (https://webextensions-experiments.readthedocs.io/en/latest/i...) should provide a reasonable option. Basically, you can keep using old-style "bootstrapped" add-ons in DevEdition and Nightly. Kind of an explicit way to opt-out of API stability guarantess so we can continue refactoring the browser core. Experiments are intended for prototyping new WebExtension APIs for eventual inclusion into mainline Firefox, but you could also use them for power-user APIs, so long as you don't mind the maintenance burden.

Re:Firefox 57 as the first release where only WebExtensions ... by yellowapple on Saturday February 18, 2017 @01:41PM (#13676015)
"Firefox will not have this limitation."

Can you clarify/elaborate? Last I heard, UI modification by web extensions was still unconfirmed at best.

Re:Firefox 57 as the first release where only WebExtensions ... by ripdog on Saturday February 18, 2017 @03:40PM (#13676571)
A sidebar API and tab modification API will be implemented specifically to allow TST to work. The addon will have to be rewritten completely on a very short timescale, though.
Re:Firefox 57 as the first release where only WebExtensions ... by kuschku on Saturday February 18, 2017 @04:19PM (#13676749)
So, can I use that to add Tab Thumbnails to Firefox? Can I use it to port AutoHiDPI, which changes the scale of the UI depending on which screen the window is on?

Can I use this to replace the entire browser history system and omnibar autocomplete with a custom one?

Can I use this to replace the entire browser chrome?

Some of these changes I need (AutoHiDPI) to use a browser at all. Others I wish for. All of them I currently am using.

The alternative is me staying on an ancient browser, or forking Firefox and browsing with a horribly outdated and barely patched version. Or reading HN with a magnifying glass.

Re:Firefox 57 as the first release where only WebExtensions ... by callahad on Sunday February 19, 2017 @02:30AM (#13678566)
Replacing the entire browser chrome is unlikely to happen on the release channel of Firefox, but everything else has potential.

Generally, the way forward will be to use WebExtension Experiments (https://webextensions-experiments.readthedocs.io/en/latest/i...), which let you run classic-style "bootstrapped" add-ons in Firefox Developer Edition or Nightly. The intended use is for prototyping new WebExtension APIs for eventual inclusion into mainline Firefox, but nothing limits you to that usage.

Re:Firefox 57 as the first release where only WebExtensions ... by kuschku on Sunday February 19, 2017 @05:29AM (#13679067)
That’d require a lot of work from me – at this point it would be easier for me just to switch to Vivaldi, or hardcode my fixes as patches into Firefox itself.

In fact, the per-screen HiDPI setting even has an environment variable on most Linux systems (Qt’s QT_SCALE_FACTORS), but Firefox completely ignores that.

I don’t have the time anymore to rewrite half the UI stack of every single application I use, and then take over maintenance of that. I’ve done that with a few open source projects, but my time is limited. And if I wanted to implement extending the UI properly, I’d definitely have to rewrite the entire stack, similar to what Browser.html does.

Re:Firefox 57 as the first release where only WebExtensions ... by digi_owl on Sunday February 19, 2017 @09:46AM (#13679947)
Dunno if you have taken a look at Palemoon.

https://www.palemoon.org/

Re:Firefox 57 as the first release where only WebExtensions ... by kuschku on Sunday February 19, 2017 @10:51AM (#13680213)
If I already have to switch the browser, I might as well switch to Vivaldi.

But neither of them is good enough. (Especially Palemoon’s UI is painful to look at, and hard to fix).

Re:Firefox 57 as the first release where only WebExtensions ... by digi_owl on Monday February 20, 2017 @08:41AM (#13687079)
Well Palemoon is a fork of pre-Australis Firefox that is trying to maintain compatibility with the existing XUL extensions as best i can tell, so i figured the transition would be smaller than going to a webkit/chrome based browser.
Re:Firefox 57 as the first release where only WebExtensions ... by bartvk on Sunday February 19, 2017 @02:03AM (#13678504)
You could continue to use Firefox LTS until somewhere in 2018.