TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

"Disable Javascript" option removed in Firefox 23

445 pointsby joallardalmost 12 years ago

53 comments

gkobergeralmost 12 years ago
Here&#x27;s a very relevant blog post by Alex Limi of Mozilla: <a href="http://limi.net/checkboxes-that-kill/" rel="nofollow">http:&#x2F;&#x2F;limi.net&#x2F;checkboxes-that-kill&#x2F;</a><p><i>Most sites these days that aren’t just displaying content will fail in interesting &amp; mysterious ways if you don’t have JavaScript enabled. For the general population, Firefox will appear broken.</i><p><i>And yes, I know that some people have reasons (privacy, web development) to turn off JavaScript. There are many add-ons that can help with this — but it’s not something that we should ship to hundreds of millions of users.</i><p>(EDIT: this is the relevant quote, but worth reading the whole article)
评论 #5969112 未加载
评论 #5968683 未加载
评论 #5968425 未加载
评论 #5968551 未加载
Osmosealmost 12 years ago
Here&#x27;s the bug where the option was removed: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=851702" rel="nofollow">https:&#x2F;&#x2F;bugzilla.mozilla.org&#x2F;show_bug.cgi?id=851702</a><p>Limi&#x27;s blog post &quot;Checkboxes that kill your product&quot; is cited in the bug as a good explanation of the motivation behind this: <a href="http://limi.net/checkboxes-that-kill/" rel="nofollow">http:&#x2F;&#x2F;limi.net&#x2F;checkboxes-that-kill&#x2F;</a><p>The option has been added to the DevTools for developers who find it useful: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=864249" rel="nofollow">https:&#x2F;&#x2F;bugzilla.mozilla.org&#x2F;show_bug.cgi?id=864249</a><p>And of course addons like NoScript or js-switch are available if you still want this in your UI: <a href="https://addons.mozilla.org/en-us/firefox/addon/noscript/" rel="nofollow">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-us&#x2F;firefox&#x2F;addon&#x2F;noscript&#x2F;</a> and <a href="https://addons.mozilla.org/en-us/firefox/addon/js-switch/" rel="nofollow">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-us&#x2F;firefox&#x2F;addon&#x2F;js-switch&#x2F;</a>
评论 #5968614 未加载
gnosisalmost 12 years ago
A few months ago, I switched to using w3m inside emacs as my primary browser.<p>w3m is not capable of handling Javascript at all. And you know what, for 90% of the websites I visit, it doesn&#x27;t matter. They function fine and look fine without Javascript. And if w3m could manage to make most websites look fine without Javascript, so could Firefox -- if its developers cared.<p>As for non-technical users -- they&#x27;re probably not going to be opening Firefox&#x27;s Preferences dialog in the first place. And if they do, they probably aren&#x27;t going to start randomly checking and unchecking stuff to see what it does. That&#x27;s something an adventurous geek might try, but certainly not your typical non-technical user.<p>If Firefox developers wanted to additionally protect the average user from this dangerous button, they could have simply stuck it in the Advanced tab of the Preferences dialog, or added a scary warning about being doubly sure that the user knows what he&#x27;s doing (like they do with about:config).<p>That said, I&#x27;m happy to use NoScript for this functionality anyway, as it&#x27;s far more flexible than a blanket &quot;turn off Javascript everywhere with no exceptions&quot; button.
评论 #5968834 未加载
评论 #5968853 未加载
评论 #5968535 未加载
sergiotapiaalmost 12 years ago
I like this! The option is still there for power users (who most likely _know_ why they want to disable Javascript) and normal users can&#x27;t accidentally disable it. Win-win!
评论 #5968435 未加载
评论 #5971178 未加载
评论 #5970028 未加载
kijinalmost 12 years ago
I supppose too many people accidentally disabled Javascript in recent months while trying to disable Java. As long as there&#x27;s an about:config option that does the same thing, I don&#x27;t think it&#x27;s a bad move to remove that option from view.<p>I will, however, miss the &quot;Advanced&quot; button next to the &quot;Enable JavaScript&quot; checkbox (if that button is going to go away, too, which the article isn&#x27;t clear about). I use those Advanced options all the time to prevent websites from messing with my neatly tiled windows and trying to prevent me from using the right mouse button. Here in South Korea, the majority of blogs and forums have right-click protection enabled (and refuse to display any content if you disable Javascript altogether) due to ridiculous defaults in popular platforms, and every other website feels like they have the right to go full-screen. Firefox is the only thing that makes this stupid trend bearable. I guess I&#x27;ll have to go and check whether NoScript has a similar option.
评论 #5968919 未加载
评论 #5968525 未加载
aaron695almost 12 years ago
&gt; This destroys a non-technical user&#x27;s grasp of the differences between static HTML and programatically manipulated HTML.<p>I think this line says it all.<p>Non-technical user don&#x27;t even know what HTML is, the concept they&#x27;d ever &quot;grasp of the differences between static HTML and programatically manipulated HTML&quot;? Do these people live in the real world?
评论 #5968612 未加载
kondroalmost 12 years ago
I can&#x27;t remember the last time I wrote an application that didn&#x27;t rely on Javascript for even parts of its basic functionality.<p>I simply don&#x27;t understand why you would want to browse the web without JS enabled and the average user definitely would never turn it off except in error, causing them to think the browser is broken.<p>Every single common-use browser on the Internet supports Javascript, there is no reason to assume it is not there as a developer.
评论 #5968464 未加载
评论 #5968431 未加载
评论 #5968426 未加载
评论 #5968814 未加载
评论 #5968451 未加载
评论 #5968415 未加载
评论 #5968474 未加载
评论 #5969636 未加载
评论 #5969334 未加载
评论 #5968566 未加载
BoyWizardalmost 12 years ago
&gt; This destroys a non-technical user&#x27;s grasp of the differences between static HTML and programatically manipulated HTML. It hides the setting amidst hundreds of other obscure settings, and does not emphasize the extremely powerful tool that JavaScript is, and the fact that it is optional.<p>Most &#x27;non-technical users&#x27; don&#x27;t have a clue about HTML, Javascipt, static features, etc. To them the internet consists of Facebook, Google and Youtube.<p>Arguably users who want to disable Javascript could be classified as &#x27;technical&#x27;, at least enough to be able to Google either a) how to do it from within Firefox, or b) install a plugin such as NoScript to do it for them.
评论 #5968423 未加载
bad_useralmost 12 years ago
Firefox is the most customizable browser available. It&#x27;s about time they cleaned-up their Preferences panel and leave that stuff for extensions to tackle.<p>I personally never disabled Javascript from the Preferences panel because I never find anything in that panel. To disable Javascript, I use the Web Developer toolbar, which is much more convenient, although not convenient enough - since one might want to enable&#x2F;disable Javascript automatically on a domain basis, which is why this should be best handled by extensions that are free to innovate the UI.<p>And while we are at it, I wish Firefox would add a search box in that Preferences panel. Its usefulness has been demonstrated in Chrome&#x27;s Settings and Windows&#x27; Control Panel.<p>Also, Firefox rocks and I&#x27;m so happy to see it improve.
评论 #5969280 未加载
评论 #5969227 未加载
philboalmost 12 years ago
The following rant is somewhat tangential but, as a front-end developer that takes pride in progressively enhancing websites I work on, I think this is a shame for a different reason.<p>So many times when speaking to employers&#x2F;product owners about progressive enhancement of JavaScript components, the answer I get back is along the lines of &quot;we don&#x27;t care about that&quot; or &quot;we don&#x27;t have the time&quot;. Sometimes in conversations with other developers too. I think this change will contribute to an increase in that attitude.<p>Progressively enhancing a website enables you to still deliver a whizz-bang, fancy-pants UI but ensure that it degrades to a sane text document when viewed in, say, lynx [1]. And it doesn&#x27;t mean doubling the development time of every feature, which I often hear cited as an argument against. Often it can involve providing a very cut-down equivalent that takes relatively little time to build.<p>Should we care about people that turn off JavaScript or use a non-JavaScript browser enough to write code for them? Given that the web is an open, standards-based platform, I think we should.<p>[1] <a href="http://lynx.browser.org/" rel="nofollow">http:&#x2F;&#x2F;lynx.browser.org&#x2F;</a>
评论 #5969549 未加载
评论 #5972982 未加载
评论 #5969652 未加载
ksecalmost 12 years ago
Way too many Geeky answers here. I could understand that, after all this is Hacker News.<p>But Majority of Users, My guess that is 60-70% of them, wont even know what Javascript is or mean.<p>My bet is that there is Less then 10% of users who cares about this. And less then 5% who just cant stand to disable it in about:config instead of UI.<p>And It is true what Mozilla have pointed out, Disabling even some totally unrelated Javascripts like tracking will somtimes make a mess of Websites. I have seen it far too many times with Ghostery.<p>For those 5% who REALLY cares about Disabling Javascript for any reasons because you think you <i>know</i> so much. I dont see why using an Add-On or going to about:config searching for Disable Javascript is such as big hassle.<p>And if you DO have such a big concern over a missing UI features, you can always go to Opera.
bdcravensalmost 12 years ago
Is it just me, or do most of the commenters here seem to believe that it&#x27;s no longer possible to disable JavaScript, as opposed to it simply being removed from the UI?
ilakshalmost 12 years ago
One aspect of this that I haven&#x27;t heard people get into very much: the idea that a lot of people have, including (probably) most developers at Mozilla and many web developers such as myself, is for the web platform to be a ubiquitous way to deploy applications.<p>The idea is that JavaScript allows a relatively safe way to do that in a sandboxed environment (the browser) that is available on almost every computer.<p>The developers who really want the web to just be a bunch of static HTML are actually inhibiting that vision of a web platform. Because if disabling JavaScript were to become popular, that takes away that capability of web browsers to run applications. The conversation would go from something like &quot;we can use JavaScript and this application will run for anyone who has a new version of Firefox, Chrome, or IE10&#x2F;11, or Safari&quot; to &quot;we can deploy our application to the latest browsers, but we will have to first present a screen asking users to enable JavaScript on our site&quot; or something along those lines. It goes from being a ubiquitous cross-platform solution to one that will only run for people who like JavaScript.<p>JavaScript in the browser is by far the best option we have now and in the foreseeable future for easily deploying applications across different types of operating systems and even devices.<p>Its amazing to me how many people don&#x27;t appreciate that goal or really take it into account.
评论 #5969045 未加载
评论 #5968577 未加载
评论 #5968638 未加载
PavlovsCatalmost 12 years ago
Okay, since Opera seems to have gone the way of the dodo: Is there a browser for power users? I mean, good luck to Firefox and Chrome, but considering I rarely use flashy websites, I really would rather use something that only works with half the sites, but has the experimentation and hunger for ideas for the sake of ideas more than for the sake of market share these so sorely lack.
评论 #5969098 未加载
评论 #5968934 未加载
评论 #5968496 未加载
评论 #5970204 未加载
Shankalmost 12 years ago
There was a talk (or podcast?) that discussed how cluttered with vestigial options Firefox and other browsers are. One of the examples was JS - if you turn it off entirely it makes the entire web seemingly broken. As long as the option is there for power users, this is the kind of thing that removing will probably cause less headaches for people in the long term.
评论 #5968450 未加载
ck2almost 12 years ago
This is unnecessary panic&#x2F;upset.<p>It&#x27;s only being removed from the UI<p>The backend ability is still there.<p>Extensions like no-script and yes-script (I prefer) will still function.
评论 #5969849 未加载
alisteralmost 12 years ago
Wow, how times change. The smart advice was to never use Javascript. (Years ago pg even wrote, &quot;<i>I would not even use Javascript, if I were you. Most of the Javascript I see on the Web isn&#x27;t necessary, and much of it breaks.&quot;</i> ) Javascript has gone from horribly flaky -&gt; occasionally useful -&gt; necessary -&gt; mandatory.
评论 #5969185 未加载
评论 #5969667 未加载
srikargalmost 12 years ago
That&#x27;s a good move to make considering the numerous JavaScript-dependent web applications present today!
holalalaalmost 12 years ago
disabling javascript is the most effective method against XSS, so it&#x27;s really bad choice to not be able to do it simply. not that firefox would be that security-minded in other areas regarding to javascript (XSS + form autofill without SecureLogin addon = fun &amp; profit for hackers)
gcb0almost 12 years ago
Didn&#x27;t gnome3 taught us a valuable lesson on dumbing things down on the expectation that users are dumb&#x2F;can&#x27;t read?
评论 #5969202 未加载
Ankaiosalmost 12 years ago
If Firefox&#x27;s developers are worried about people not understanding why a page doesn&#x27;t work, another potential solution would be to provide users with some feedback. For instance, if Javascript is disabled but present in a page, perhaps show a (simplified?) small debugger box showing the next lines of Javascript which <i>would</i> have been executed and some sort of an obvious Run &#x2F; Play button to start the script.<p>I&#x27;d prefer if browsers treated the Web as less of a black box, and if they erred more toward helping users understand the world they are exploring.
评论 #5969130 未加载
ID_10Talmost 12 years ago
As a Firefox user, I feel like most of the people complaining are Chrome users just looking to pick a fight.<p>Hey, Chrome folks, Firefox has this great thing called NoScript. I realize Chrome doesn&#x27;t have that, so you have to manually disable&#x2F;enable JavaScript. We just use NoScript, as we have for years, which does a lot more. Firefox users don&#x27;t rely on the &quot;Disable JavaScript&quot; option, nor ever did.<p>This is a nonissue, but continue to make it more than it is.
dmiladinovalmost 12 years ago
As long as you can still disable JS via about:config or NoScript, this is hardly worrisome.
grannyg00sealmost 12 years ago
The bug was resolved as invalid with no explanation. I hope that by the time this makes it to regular release the transition is handled better.
overgardalmost 12 years ago
I&#x27;m surprised that checkbox hung around as long as it did. I imagine only maybe .001% of browser users actually really cared enough to turn that off, and if they did, they were probably already running something like NoScript since toggling it in the preferences all the time is way too blunt an instrument anyway.
pschastainalmost 12 years ago
I can&#x27;t stand engineers who assume that they know better than those who use their products. Not just hiding the ability to easily disable javascript, but RE-ENABLING IT AGAIST THE USERS EXPRESSED DESIRE via an update - seriously, your head is so far up your ass you&#x27;d have to shit twice just to see daylight.
SkyMarshalalmost 12 years ago
This is a heavy-handed solution that could be better solved simply by adding more explanatory tooltips. Something like:<p>[x] Disable Javascript. This will break or significantly reduce the functionality of many websites, but will also prevent them from gathering marketing and other data on you. [Details](<a href="http://www.mozilla.org/javascript" rel="nofollow">http:&#x2F;&#x2F;www.mozilla.org&#x2F;javascript</a>)<p>Make the primary tradeoffs clear, supply a link to a mozilla.org site with a more comprehensive explanation of what you give up and gain.<p>Programmers like to simplify, abstract, and modularize, but that isn&#x27;t always the best strategy with language. Sometimes, even with control panel tooltips, it&#x27;s better to be a little bit more verbose, take up a little more screen real estate, if it saves your users some trial-and-error time or a trip to Google.
dangaylealmost 12 years ago
I commented on this elsewhere, but to all the people who assume that developers can just build websites and assume that JS is enabled, please Google &quot;Section 508&quot;.<p>FWIW, I don&#x27;t think we should avoid educating users. Pandering to the dumbest common denominator only makes dumb things in the long run.
Fuxyalmost 12 years ago
Well JS can be disabled with the help of plugins however I find it ominous that you have to be an expert user&#x2F;programmer to disabled javascript.<p>There are a lot of websites out there that use javascript for less than reputable purposes so not being able to disable it when you know you might run into them is insecure.<p>Like say using tor where having JS enabled is like asking to be tracked.<p>I know disabling JS is not an option on the modern web but then ship with something like noscript instead don&#x27;t just leave users exposed.<p>This is not a feature that can just be removed it needs to be replaced instead.
ID_10Talmost 12 years ago
This will obviously receive a lot of hate from the tech community.<p>Fortunately they are the 1%. For everyone else in the world, this is a welcomed change. Most people don&#x27;t even know what JavaScript is.
muyuualmost 12 years ago
<a href="https://addons.mozilla.org/en-us/firefox/addon/js-switch/" rel="nofollow">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-us&#x2F;firefox&#x2F;addon&#x2F;js-switch&#x2F;</a>
protomythalmost 12 years ago
At this point, I&#x27;m fine with disabling options if the program is sufficiently scriptable &#x2F; programmable to allow someone to write a plugin to duplicate the &quot;turn off&quot; behavior. For browsers, we seem to be in a plugin replaces options universe. If a browser plugin cannot duplicate the behavior, then the browser needs to be changed to allow it or the option needs to stay.
saejoxalmost 12 years ago
There are more people who disable JS unintentionally than those who do it intentionally.<p>This is a good move. Option still exists in about:config.
swiftinalmost 12 years ago
Why is taking away features &quot;in&quot; now?
评论 #5968287 未加载
评论 #5968414 未加载
评论 #5968331 未加载
评论 #5968291 未加载
评论 #5968378 未加载
评论 #5969556 未加载
评论 #5968297 未加载
DigitalSeaalmost 12 years ago
It makes sense to me. You can&#x27;t even do Internet banking these days without needing Javascript enabled and to disable it you&#x27;ll always have the plethora of addons that allow you to disable Javascript anyway. I think this is a welcome removal from Firefox, it&#x27;s 2013 not 1925, Javascript is everywhere.
holalalaalmost 12 years ago
Looks like the reason behind the move is that preferences UI has become incomprehensible ... which actually doesn&#x27;t have anything to do with javascript. Perhaps a move towards Eclipse-like preferences would be a wiser choice?
aerolitealmost 12 years ago
Stop disabling Javascript, you Luddite. The entire web depends on it.
sampkalmost 12 years ago
Classic Brendan Eich.
marco-fisetalmost 12 years ago
The thing is that non-expert users generally leave javascript on, because they don&#x27;t even know what it is, let alone disabling it.
frontsideairalmost 12 years ago
I&#x27;m surprised no one has posted this xkcd strip yet.<p><a href="http://xkcd.com/1172/" rel="nofollow">http:&#x2F;&#x2F;xkcd.com&#x2F;1172&#x2F;</a>
评论 #5969608 未加载
philliphaydonalmost 12 years ago
WOOOOHOOOO Best knews I&#x27;ve heard for Firefox! Now if only every other browser would do it.
joeheymingalmost 12 years ago
Maybe Firefox can replace it with a don&#x27;t tender html checkbox &lt;&#x2F;sarcasm&gt;
rocky1138almost 12 years ago
The title isn&#x27;t entirely accurate: it&#x27;s been moved not removed.
dewizalmost 12 years ago
many web sites don&#x27;t work without cookies either, specifically the authentication.<p>if the functionality of &quot;modern&quot; sites is the only rationale, it is simply a wrong decision by Mozilla.
评论 #5971135 未加载
leocalmost 12 years ago
Look on the bright side. At least we&#x27;ll never, ever have to hear about the Principle of Least Power again from Mozilla&#x2F;HTML5 advocates lionising the &quot;Open Web&quot; against smartphone apps, Native Client or what have you.
wooptooalmost 12 years ago
About time. JS is an integral part of the web experience.
drdaemanalmost 12 years ago
Not surprised. Mozilla, being an important entity in JavaScript ecosystem, obviously wouldn&#x27;t disapprove web developers willing to shove JS down everyone&#x27;s throat.
crististmalmost 12 years ago
That spencer guy really sounds like a smartass; I mean, we&#x27;re too stupid to be around him and not seeing the light that shines through his ass; vent off
mattbeckalmost 12 years ago
It&#x27;s about time.
wprlalmost 12 years ago
Good!
camusalmost 12 years ago
I exclusively surf with javascript disabled by default. I only turn javascript on on websites that i trust or the site has to give a good reason to do so. i wont turn on javascript to display your crappy jquery menu or slideshow.<p>So many pages are totally broken without javascript. You dont need javascript to have a good layout, a complexe menu or display images. Yet some &quot;professional&quot; sites dont even work without javascript on, All you see is a blank page.<p>And by the way, there is a tag called noscript , but it seems webdesigners that only think about demonstrating their &quot;html5&quot; talents dont know their basics.<p>Javascript is the new flash. Stupid cheesy animations , heavy pages , memory leaks that kill your browser, javascript intros that you cant skip ,broken parallax scrolling , slow scrollbars so it feels like you are on ipad , it will be worse than flash when designers start abusing Adobe Edge on all their websites.<p>So long firefox...
评论 #5968504 未加载
评论 #5968484 未加载
评论 #5969084 未加载
评论 #5971081 未加载
评论 #5969066 未加载
评论 #5972279 未加载
CyberDroiDalmost 12 years ago
Javascript is not required to read articles on the web. It&#x27;s optional. That&#x27;s why &quot;Reader&quot; mode is so handy, just show me the article so I can read it. Sometimes I don&#x27;t like waiting for my browser to struggle with poorly written JS.<p>It sounds like a classic noobie mistake... &quot;Why are users able to turn off Javascript?&quot; &quot;No idea.&quot; &quot;Remove the feature!&quot;<p>If anyone says Javascript is not optional, they are trying to sell you something: probably web apps!
评论 #5968301 未加载
评论 #5968310 未加载
评论 #5968338 未加载
评论 #5969416 未加载
SmokyBorbonalmost 12 years ago
Firefox<p>2002-2013