Stack Overflow and Meta Stack Overflow prompts me that "Stack Overflow works best with JavaScript enabled". But I reconfirmed that I have my JavaScript enabled by default. I am using Firefox 3.6.
-
Not confirmed on Firefox 3.6 on Windows. Are you sure you have no local setting enabled to turn JS off?– PekkaCommented Dec 12, 2010 at 2:54
-
no but everything is working fine apart from the prompt– bijuCommented Dec 12, 2010 at 2:59
-
1I refreshed page again, it went away.– MowgliCommented Jul 2, 2013 at 20:12
-
Related: Which browsers are officially supported? And what else do I need? Contains input for JavaScript whitelisting (what Internet domains are actually used, etc.), cookies, etc.– This_is_NOT_a_forumCommented Apr 10, 2020 at 13:09
3 Answers
This could be caused by Google's CDN being blocked, and hence its jQuery not being available:
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js">
For some time, the JavaScript also outputted “Stack Overflow works best with JavaScript enabled” when jQuery was not loaded. In March 2011 it became more specific:
// display a warning (like the noscript warning) even if JS is enabled, but
// jQuery isn't there (google CDN blocked etc.)
// -- no jQuery is as good as no JavaScript at all for our purposes
var checkForJQuery = function (siteName) {
if (!window.jQuery) {
...
warning.innerHTML = siteName + " works best with jQuery enabled";
And somewhere in April 2011 this changed to:
if(!window.jQuery)
...
c.innerHTML = a +
" requires external JavaScript from another domain, which is blocked or failed to load.";
Note that the above will not work if Stack Exchange's own sstatic.net
CDN is blocked, as then the above JavaScript is not even loaded. Except on Meta, where the static resources are not loaded from that domain. So, here on Meta one might get the warning, while on the other sites things fail silently if sstatic.net
is blocked.
So, for future searches:
Stack Overflow works best with jQuery enabled
Stack Overflow requires external JavaScript from another domain, which is blocked or failed to load.
-
-
-
My Firewall was blocking the js file.That was the problem...Thanks a lot ya...– bijuCommented Mar 29, 2011 at 9:52
-
I don't see this in Firefox 3.6 (latest) on stackoverflow.com either.
I suspect you either have non-default settings, or a rogue plugin. Try starting Firefox in safe mode and see if it persists.
-
-
1oops i had webdeveloper toolbar installed and eventhough javascript was enabled,i have disable java checked.I think thats the problem.let me see if it occurs again– bijuCommented Dec 12, 2010 at 3:22
-
It still remains even after i remove the disable java check.Noe i will try unchecking strict warnings– bijuCommented Dec 12, 2010 at 10:22
In my Firewall i had a rule to block the extension .js.I removed .js from the banned extensions list and added
ajax.googleapis.com
to the exceptions list in blocked sites.Now everything is working fine.Thanks everyone especially Arjan.
-
1Others might also need
sstatic.net
(Stack Exchange's static resources) to be added to such list, to allow for fetching the site's own JavaScript. But, when that is blocked, no "works best with" message would be shown either as it's that script that shows the very message.– ArjanCommented Mar 31, 2011 at 6:46 -
-
I knew you did, as you did get that message :-) (As an aside: see How do comment @replies work?)– ArjanCommented Mar 31, 2011 at 6:50
-