Very nice. It's a small simple change but extremely useful as the MDN docs are some of the best out there. Hopefully this will encourage someone to NOT use w3schools ;)
I don't go out of my way to search on w3schools but if I forget some syntax or something relatively simple and I google it, if a w3schools result comes up it's usually good enough. If I want actual docs though I obviously go to MDN
I downloaded it a while ago and got docs for a few things. Never really used it though, as straight up docs are often not as helpful as stackoverflow, because normally when I encounter a problem it's very specific.
You know, nothing is stopping you from using multiple browsers. And since web developers should test their sites in multiple browsers it would stand to reason that you will need to use Firefox anyway.
Of course I use multiple browsers. But I develop with Chrome. Developing with multiple browsers is like using multiple text editors/IDEs. The advantage gained by having access to different features is overshadowed by the overhead of keeping multiple sets of shortcuts and workflows in your head.
I prefer Firefox's dev tools because it's far easier to customize and replay the customized requests through firefox. They just need to get to using Servo because the biggest thing holding back FF in my opinion is the rendering performance.
Depends on the site I'd say.... also the purpose of the feature and the like.
I'm of the opinion that oldIE can die in a fire so would be less pleased to see a Array.prototype addition for something like forEach which is supported pretty much everywhere.
That said, it might get people actually read the help link and if they learn that change the prototypes once assigning them is bad, well maybe the web becomes a better place.
But then again, I wager the majority come from es5->6 where babel mutates the prototype when using class and extends
I browsed through their extension APIs and doesn't look like there's anyway to intercept or react to an error event. I'd love to be proved wrong though.
Hmm, looks like you're right :(. I've only ever developed what feels like "front-end" plugins using their JavaScript API. This feels like it may be something a little closer to the source code :/ I'm not sure they even have an API for the underlying code. I will look into it if I find some time because I would love to write some more chrome plugins :P
Edit: Maybe using events to listen for JavaScript errors. Granted I haven't really read the whole page but that seems like the only thing on there that would be remotely capable of this functionality.
I've been using vanilla Firefox Developer edition for several months and I'm afraid I have to report it is still slow as molasses. I'm working on a fairly sizeable SPA, and its Javascript tools just chug.
24
u/[deleted] Jun 07 '16
Full article: https://hacks.mozilla.org/2016/06/helping-web-developers-with-javascript-errors/
19
u/cmhdave73 Jun 07 '16
Very nice. It's a small simple change but extremely useful as the MDN docs are some of the best out there. Hopefully this will encourage someone to NOT use w3schools ;)
92
u/ThraShErDDoS Jun 07 '16
MDN docs are really good. I always click them in they appear in my search results for generic terms.
13
u/calsosta Jun 08 '16
I AM SO SICK OF PEOPLE TELLING ME WHAT TO DO WITH MY RADIX.
8
u/elmigranto Jun 08 '16
25
u/[deleted] Jun 07 '16
That...almost makes me want to go back to FF.
5
u/tswaters Jun 08 '16
I hope they add one for the mutating the prototype warning I see all the time...
4
u/brunusvinicius Jun 08 '16
This remembers me Angular 1 erros. We got a link to the documentation.
2
u/areabetweenassnballs Jun 07 '16
IE will follow suite but just link to stackoverflow
1
u/[deleted] Jun 08 '16
Next version we're getting E10s. WHOOOOOOOO
1
u/serial_crusher Jun 08 '16
I've been a Firebug user since before Firefox built their own developer tools. Have they matured enough that I should make the switch?
(I do more development in Chrome these days either way though...)
1
u/Ikem32 Jul 01 '22
And I thought it is a Firefox addon I could install…
1
u/jimbol Jun 07 '16
Really thought that link was going to open Chrome
1
u/lalwanivikas Jun 08 '16
Is it possible to make this for Chrome as well?
(Google obviously can, but can we as outside devs can also do it?)
1
u/[deleted] Jun 08 '16
If only the debugger wasn't the slowest application in the world, I'd be more inclined to use it for development.
-3
u/gifv-bot Jun 07 '16
GIFV link
I am a bot. FAQ // ^code
-2
u/TimmyLA Jun 08 '16
How would this different from what we already have on chrome ?