News for hackers. Stuff that matters.
Re:WebExtensions FAQ by mnarayan01 on Wednesday August 26, 2015 @12:49AM (#10121115)
I like Firefox. A lot. And I think there are a number of ways that the core (i.e. non-extension based) functionality is superior to that of e.g. Chrome. That said...the reverse is also very much true.

When Firefox loses the extensions which require XUL (whether fundamentally or merely to avoid rewrites) I doubt its upsides will outweigh its downsides for me anymore. They may surprise me, and even if they don't they still might increase usage with other people, but right now I am sad.

Re:WebExtensions FAQ by abcd_f on Wednesday August 26, 2015 @03:28AM (#10121597)
Firefox is not from Google.

This is its biggest upside and I suspect that I'm not the only one who sticks to FF pretty much exclusively because of it. I am even willing to look past their shenanigans with Pocket, EME, Loop, featured tiles and all other "for the sake of our users" crap Mozilla keep on stuffing into the browser. One thing is pretty obvious though - Mozilla now don't really give a damn about "community". They do what they want to do and the only deterrent is a risk of lash back from said community, rather than their approval.

[deleted]
Re:WebExtensions FAQ by jgraham on Wednesday August 26, 2015 @04:32AM (#10121779)
No, they don't.

At the end of the last contract with Google, Mozilla chose to change their default search provider to Yahoo in the US, and to various other providers in the rest of the world.

Re:WebExtensions FAQ by huhtenberg on Wednesday August 26, 2015 @06:05AM (#10122023)
I'm guessing that [deleted] was about Google being the Firefox default search provider.

While it is not longer true, Firefox still uses them for SafeBrowsing, download scanning, geolocation, Loop authentication and as a source of jQuery for DevTools. If you are concerned about Firefox leaking information to Google, the tie-ins are still there.

PS. Just go to about:config and type "google".

Re:WebExtensions FAQ by wsha on Wednesday August 26, 2015 @08:25AM (#10122411)
I believe Google is also still the default for some locales including most of Europe.
Re:WebExtensions FAQ by glandium on Wednesday August 26, 2015 @04:38AM (#10121792)
You probably missed the news: they don't, anymore. https://blog.mozilla.org/blog/2014/11/19/promoting-choice-an...
Re:WebExtensions FAQ by pekk on Wednesday August 26, 2015 @02:20PM (#10124993)
Can you provide a breakdown of where the money is coming from? I haven't seen that kind of data which would actually show that Google isn't funding Mozilla at all any more.
Re:WebExtensions FAQ by tatterdemalion on Wednesday August 26, 2015 @04:31AM (#10121774)
Re:WebExtensions FAQ by RubyPinch on Wednesday August 26, 2015 @02:03AM (#10121325)
Surely any maintained XUL related addons will survive this change, due to being maintained, no?
Re:WebExtensions FAQ by mnarayan01 on Wednesday August 26, 2015 @02:44AM (#10121455)
I've heard Tree Style Tabs won't be possible. Given my limited knowledge this strikes me as plausible, but I haven't investigated it at all so don't take my word for it.
Re:WebExtensions FAQ by Osmose on Wednesday August 26, 2015 @02:52AM (#10121477)
See https://wiki.mozilla.org/WebExtensions#Additional_APIs

There's valid criticisms against WebExtensions, but the biggest misconception is that the capabilities of WebExtensions are set in stone and that X or Y addon "won't be possible". The entire point of announcing WebExtensions so early was to start getting feedback on what needs to be supported to make major and useful addons possible, and to start work on a way for experimentation outside of the officially supported spec to still happen.

Re:WebExtensions FAQ by keeperofdakeys on Wednesday August 26, 2015 @04:30AM (#10121772)
> The entire point of announcing WebExtensions so early...

Their current schedule only gives a year to build an api, mature the api, get a significant number of popular ported addons, and deprecate their old api. There will either be mature apis and many casualties, or half-conceived apis and lots of addons that will need to be changed with these apis.

With enough time and design, I'm sure this move would result in many positives at the cost of some negatives. But this time frame is just too short for such a huge undertaking.

Re:WebExtensions FAQ by Osmose on Wednesday August 26, 2015 @10:40AM (#10123182)
I agree that the timeline is rather short. I think it's totally possible for the Firefox team to achieve their goals within that time period, but whether addon authors can keep up is not as clear to me. We'll just have to see how it goes; I don't see why they couldn't extend the timeline if it turns out to be too short.
Re:WebExtensions FAQ by keeperofdakeys on Wednesday August 26, 2015 @06:11PM (#10126337)
It really depends how many resources mozilla puts on this internally, which from what I've been reading may actually be quite a bit. But I don't think they'd move the schedule any more than a few releases, there will likely be a whole bunch of addons ported at the last minute, and they likely need the motivation.
Re:WebExtensions FAQ by mnarayan01 on Wednesday August 26, 2015 @03:30AM (#10121606)
On one hand, that link provides pretty strong (implicit) evidence that plenty of stuff won't be possible after the switch away from XUL, whether or not Tree Style Tabs is possible.

On the other hand, Tree Style Tabs is far and away the biggest extension I care about, so that link does provide me with some level of hope. For which I genuinely thank you.

On the third hand, my cynical take is that apparently Mozilla really does take community feedback into consideration. When making a wish list of things that could potentially happen in the future to put on a wiki page. I've also heard that it's possible that Pocket could be moved to an extension.

Re:WebExtensions FAQ by Osmose on Wednesday August 26, 2015 @10:55AM (#10123296)
> On one hand, that link provides pretty strong (implicit) evidence that plenty of stuff won't be possible after the switch away from XUL, whether or not Tree Style Tabs is possible.

From the FAQ, there's a proposal for a way to do things that require the same level of access that the browser chrome has here: https://discourse.mozilla-community.org/t/proposal-native-js...

To me it seems like a decent way to say "Hey, here's an explicitly unstable way to do things that aren't possible with WebExtensions, and hopefully we can eventually get those things into WebExtensions, or you can just live your life as you do now with no hard promises about compatibility."

> On the other hand, Tree Style Tabs is far and away the biggest extension I care about, so that link does provide me with some level of hope. For which I genuinely thank you.

You're welcome! :D

> On the third hand, my cynical take is that apparently Mozilla really does take community feedback into consideration. When making a wish list of things that could potentially happen in the future to put on a wiki page.

I could talk about this _forever_, but the short version would be: That's not a false criticism of Mozilla in recent times, but it's also not entirely true. Hacker News, r/firefox, and others are very vocal minorities compared to our greater userbase. Sometimes we really need to listen more and change our plans and be more open than we have been, but sometimes the people doomsaying everything we do might have a different opinion if they had all the details and metrics and info (knowing how to navigate Mozilla to find info about something is a skill in itself).

> I've also heard that it's possible that Pocket could be moved to an extension.

I dunno if we've specifically made that decision yet, but it is certainly one of the primary candidates for Go Faster: https://wiki.mozilla.org/Firefox/Go_Faster

Re:WebExtensions FAQ by steve-howard on Wednesday August 26, 2015 @02:26AM (#10121386)
It's possible that maintainers are willing to make small changes to keep up with recent versions of firefox but are not interested in a ground-up rewrite to accommodate a deprecated framework.
Re:WebExtensions FAQ by greyskull on Wednesday August 26, 2015 @02:06AM (#10121331)
> And I think there are a number of ways that the core (i.e. non-extension based) functionality is superior to that of e.g. Chrome

Like what? Genuinely curious.

Re:WebExtensions FAQ by reitanqild on Wednesday August 26, 2015 @02:35AM (#10121432)
Awesomebar for one.

Being able to just type in the random things you remember from a url / title (I think it combines them) and have FF narrow down the alternatives, -fast, is something I haven't found in any other mainstream browser.

Another aspect is it doesn't automatically send everything you type to google (I don't worry to much but it is a nice touch.) Maybe the average user is confused by having a separate search field in addition to the address bar but I like it. (And yes, you can search from awesomebar as well, although there is no suggest feature.)

Re:WebExtensions FAQ by _yy on Wednesday August 26, 2015 @03:30AM (#10121602)
> Being able to just type in the random things you remember from a url / title (I think it combines them) and have FF narrow down the alternatives, -fast, is something I haven't found in any other mainstream browser.

Chrome has exactly the same feature. You can disable Google Instant, too, but it's actually a really useful feature.

Re:WebExtensions FAQ by reitanqild on Wednesday August 26, 2015 @03:45AM (#10121655)
Common misconception I guess[0]: Chromes version is not the same. (Unless I am seriously wrong.)

Try to type

   new com <part of title of something you read on hn today>
to test. On FF and PM this just works but on Chrome I still don't think it works.

[0]: which might explain why not everyone is using the better browser :-P

Re:WebExtensions FAQ by ino on Wednesday August 26, 2015 @04:07AM (#10121719)
That has always worked for me on Chrome. On the other hand, chrome lets me use the websites own search without setting up anything. For example:

you [tab] searches on youtube. news [tab] searches hn. I've never set it up and works with almost every site I've performed a search on.

Re:WebExtensions FAQ by mcintyre1994 on Wednesday August 26, 2015 @05:51AM (#10121992)
Does "new com webex" work for you in Chrome? It won't offer anything but a Google search for me. On Firefox it'll either offer to switch tab to here if it's still open or it'll find this in history.

I agree Chrome's site search thing is awesome, but how did you teach it to use the new HN one?

EDIT: Chrome settings -> manage search engines. Very impressed with the list of those it's stored automatically. Point stands that it doesn't seem to relearn though when one changes.

Re:WebExtensions FAQ by ino on Thursday August 27, 2015 @03:07AM (#10127979)
Re:WebExtensions FAQ by efdee on Wednesday August 26, 2015 @05:55AM (#10122001)
That works for me on Chrome. The misconception might be on your side ;-)
Re:WebExtensions FAQ by joshuacc on Wednesday August 26, 2015 @02:41PM (#10125141)
Just tried it in Chrome and it has the exact same behavior as FireFox.
Re:WebExtensions FAQ by borgbean on Wednesday August 26, 2015 @02:58PM (#10125247)
When I do this in chrome, it opens a new instance of the page. In Firefox, it switches to the tab you're searching for.
Re:WebExtensions FAQ by lobster_johnson on Wednesday August 26, 2015 @02:03PM (#10124871)
Safari does this, as does Chrome. For example, typing "webex" will show this discussion as one of the autocompletion suggestions.

Safari will suggest also suggest things like Wikipedia articles and popular sites. Similarly, if I type "imdb michael mann", Safari will suggest "Search imdb.com for michael mann".

Firefox's location bar is arguably much worse than both Safari and Chrome — it won't really autocomplete anything except "search Google for this" and bookmarks/history. Safari also leaves the search standing in the location bar when you submit it, whereas Firefox replaces it with an obscure, unreadable google.com URL.

Re:WebExtensions FAQ by jitl on Wednesday August 26, 2015 @03:12AM (#10121542)
I use a few heavy user interface customization extensions:

1. Tree Tabs: this extension lays out my tabs stacked vertically on the left of my window. I can fit upwards of 50 tabs in a window before I have to scroll the tab list. This is great for managing big research or documentation sessions without the squinting in Chrome. The APIs necessary for tree tabs are not yet in chrome, although there is some discussion now of a sidebar API.

2. Vimperator: this extension provides a very powerful vim-like interface, including a .vimperatorrc file. I don't use any more of the advanced features like that, but it is excellent for keeping my hands totally on the keyboard as I switch between Tmux splits, vim windows, and my browser. There are several vimperator-inspired plugins for chrome, some of which are passable. However, vimperator is a lot faster than Vimium, and the interface is more concise and vim-like. A big difference is the UI for opening links: in Vimperator, you press `f` to enter follow-link command mode. Each link is assigned a number by page order; you filter links by typing letters, and can follow the first link by pressing `enter`. So to submit this text form, I would press `esc` to return to normal mode from edit mode, then press `f`, and then type "rep<enter>" to filter links to reply, and then click it. It's rather natural, and easy to click the right link.

In Vimium, each link is assigned two letters (which are easier to type than numvers), but you can't filter links. There's a lot more squinting at the little labels to type the right thing. Plus, it's easy to fat finger the link text with no recourse.

Re:WebExtensions FAQ by ikurei on Wednesday August 26, 2015 @06:17AM (#10122052)
> n Vimium, each link is assigned two letters (which are easier to type than numvers)

Are you sure you can't change that in Vimperator? I use Pentadactyl (can't even remember why I chose it over Vimperator) and i can just do `set hintkeys=asdfghjkl`.

Re:WebExtensions FAQ by 0942v8653 on Wednesday August 26, 2015 @09:17AM (#10122650)
You can make vimperator work like vimium but not the other way around.
Re:WebExtensions FAQ by ishansharma on Wednesday August 26, 2015 @02:36AM (#10121433)
I am a Firefox user and there are couple of core functionalities that keep me with it instead of Chrome(or Opera/Safari)

1. Tab Groups: This is a must have for organizing tabs and keep me sane with 30+ tabs open. 2. Lazy loading: I am not sure if Chrome has it or not but FF doesn't load a tab content until I switch to it. I can regularly have a lot of tabs open without all of them using resources.

Re:WebExtensions FAQ by gioele on Wednesday August 26, 2015 @03:30AM (#10121604)
> 2. Lazy loading: I am not sure if Chrome has it or not but FF doesn't load a tab content until I switch to it.

This is usually transparent to me. Except when I am on a train and realize that all the tabs I have opened in the background have never been loaded. :(

For this and other reasons I have removed tabs from my workflow, now I use 90% maximized or half-screen windows. It is also easier to alt-tab between them.

Re:WebExtensions FAQ by hvis on Wednesday August 26, 2015 @05:25AM (#10121928)
You can simply uncheck "Don’t load tabs until selected" in the General section of Preferences.
Re:WebExtensions FAQ by yoodenvranx on Wednesday August 26, 2015 @07:42AM (#10122255)
I don't know how people can live without Tab Groups. Usually I am working an 5 to 10 different "projects" and for each project I have a tab group with everything from 3 to more than 20 open tabs. Based on the project I am working on I can just switch to the correct set of tabs.

I could do something similar with bookmarks but that would be way slower and not as comfortable.

Re:WebExtensions FAQ by gnud on Wednesday August 26, 2015 @11:44AM (#10123670)
I do this manually (in FF) with one window per project, and N tabs per window. Works well enough even without extensions.
Re:WebExtensions FAQ by yoodenvranx on Wednesday August 26, 2015 @11:46AM (#10123689)
How do you do the per-window-stuff? Do you use a different firefox profile for each window? And how is it handled if one window is closed?
Re:WebExtensions FAQ by TazeTSchnitzel on Wednesday August 26, 2015 @10:04PM (#10127112)
In this setup you just have to be careful to quit FF rather than close a specific window.
Re:WebExtensions FAQ by wsha on Wednesday August 26, 2015 @08:30AM (#10122432)
There is a Chrome extension called FooTab that does #2. Maybe Chrome will add this functionality at some point. I have heard that they are working on unloading tabs when many are opened at once.
Re:WebExtensions FAQ by leoc on Wednesday August 26, 2015 @05:16AM (#10121900)
FF still has bookmark tags, right? Living without them on Chrome is not pleasant.
Re:WebExtensions FAQ by TsiCClawOfLight on Wednesday August 26, 2015 @05:30AM (#10121940)
This. They are one of my most loved feature on Firefox.
Re:WebExtensions FAQ by mnarayan01 on Wednesday August 26, 2015 @02:40AM (#10121446)
Specific: If an anchor element has its download attribute set, Chrome won't display any indication at all that it has been clicked until the server responds (at least AFAICT).

Circumstantial: In most cases I prefer the way Firefox handles runaway scripts. Though when it fails, it fails hard.

There are many others, though like I said...I doubt they'll out weigh Chrome's advantages sans the existing extension ecosystem.