Questions tagged [javascript]
GENERAL QUESTIONS ABOUT JAVASCRIPT ARE OFF-TOPIC. This tag is for questions relating specifically to the use of JavaScript on the Stack Exchange sites.
225 questions
9
votes
1
answer
496
views
A weird uninterpreted HTML tag on Stack Overflow when JavaScript was disabled
I was looking for the XMLHttpRequest object in a source page of Stack Overflow and couldn't find one. So, I tried switching off JavaScript in my browser (Google Chrome) to confirm whether Stack&...
1
vote
0
answers
148
views
JavaScript error when working on remote IE8
I'm experiencing JavaScript errors that make using StackOverflow difficult when I log from work (the only access to Internet is through remote server, on which IE8 is started). Because of this error I ...
-2
votes
1
answer
60
views
View question's "history" as animated playback
While I was searching for the "history" button of the post I had thought it would be cool to have the history of the whole question sorted by time.
For my understanding the evolution of a question it'...
4
votes
0
answers
174
views
JavaScript issue when logged in
I'm getting a cross-browser issue with the JavaScript on Stack Overflow, which wasn't happening yesterday, and which clearing my cache and switching from Chrome to Firefox didn't fix. The error ...
114
votes
1
answer
2k
views
The cardiologist can't tell if my heart is beating!
I have found a... strange, to say the least, error on Stack Overflow. I was just browsing normally and I decided to open the error console, and I saw this:
Uncaught TypeError: Cannot call method '...
3
votes
0
answers
65
views
Disable all selection and onkeypress on mobile version [closed]
Since today answering questions has become a daunting task. It has never been easy using thus keyboard (Swype), but starting today it's even more difficult.
Before, the application would react ...
18
votes
1
answer
3k
views
JavaScript on whole site is broken in IE (9 or less) because of stub.js
Using IE 9 or less, I'm getting a JS error "Object is required" on line 1, position 137 in stub.js.
The script stops and the StackExchange object does not get initialized, so later there are "Object ...
4
votes
1
answer
156
views
I get a JavaScript error when attempting to post a question on Stack Overflow, using IE8
I am unable to post questions on Stack Overflow. I am using IE8. Is that a supported browser? As far as I can remember I was able to post questions earlier. Here's the JavaScript error:
"JSON is ...
1
vote
0
answers
120
views
JavaScript menus broken in main site?
I am getting this JS error in my browser console:
TypeError: e.attr(...) is undefined
on the StackOverflow homepage, in this file, line 82:
http://cdn.sstatic.net/js/full.js?v=6c690b307479
This ...
-6
votes
3
answers
389
views
Why close the discussion "Good JavaScript IDE with jQuery support"?
I'm talking about the discussion https://stackoverflow.com/questions/209126/good-javascript-ide-with-jquery-support, alledgedly closed by you... Here's why I think this should be open:
It's a ...
7
votes
1
answer
138
views
Careers Stackoverflow not loading JS/CSS/etc
http://careers.stackoverflow.com/
Here are the error messages in javascript console:
Failed to load resource https://hg.stackoverflow.comcareers/cso/all.min.css?398723
Failed to load resource https:...
6
votes
1
answer
1k
views
How do I get desktop notifications, in Firefox, for the Stack Exchange inbox? [closed]
I was just browsing some Stack Exchange sites the other day, when I thought about how nice it would be to have a little information bubble every time I get a new thing in my SE inbox.
I already have ...
0
votes
0
answers
67
views
In which cases is JavaScript code rendering a post in a different way considered to be added to a single site requesting it?
On Drupal Answers Meta , Automatically link function names to api.drupal.org has been posted months ago. In short, the feature request is to automatically link function names to documentation pages on ...
0
votes
1
answer
553
views
Network-wide StackExchange search is broken with "Uncaught TypeError: undefined is not a function" [closed]
At least on Google Chrome on Windows 7, the StackExchange network-wide search ("Search the Stack") is currently broken.
In the browser console there is a JavaScript error:
Uncaught ...
4
votes
0
answers
83
views
Uncaught TypeError breaks chat room loading
Every so often when I try and load a chat room, I get stuck on this screen:
I finally checked the Javascript console this time; it had this error at the bottom:
master-chat.js:247: Uncaught ...
1
vote
0
answers
71
views
message about JavaScript being blocked [duplicate]
Possible Duplicate:
“Stack Overflow requires external JavaScript from another domain” message
On Stack Overflow, and all of the Stack Exchange sites, there is big message at the top ...
1
vote
0
answers
75
views
Stack Overflow requires external JavaScript from another domain, which is blocked or failed to load [duplicate]
Possible Duplicate:
“Stack Overflow requires external JavaScript from another domain” message
I just can't use StackOverFlow website due to this JS issue. What is wrong?
Edit:
http:/...
0
votes
1
answer
91
views
commenting (and lots of other commands) unavailable in chromium 18.0.1025.151 [duplicate]
Possible Duplicate:
JS broken in Chrome 18
when I click 'add comment', nothing happens. Same goes for:
-'Stack exchange' in the header to view messages/hot topics
-'show other means of login' on ...
2
votes
0
answers
161
views
JavaScript not working from time to time - SE wide
From time to time none of the JS-codes is working, and all sites (SE, AU, UL, GL&U, ...) are infected meanwhile, but with random exceptions.
I can't vote up, down, add a comment, don't get the ...
2
votes
1
answer
378
views
'Last Seen' not updated with JavaScript disabled [closed]
For some reasons I need to have my JavaScript disabled in my browser. I noticed that since I made this change, my 'Last Seen' does not update even though I am logged in.
Now that Isn't much of a ...
66
votes
3
answers
5k
views
Load jQuery from Stack's CDN if Google's CDN is blocked (or always)
Google's CDN is nice, but it's not 100% reliable for all users. It occasionally fails to load for me. Other users have had trouble with it due to sloppily-configured networks, and some may prefer to ...
-1
votes
1
answer
473
views
Stack Exchange's heavy reliance on external scripts
I dislike running third-party scripts in my browser and have disabled these generally.
I can enable them on an exceptional basis, but it strikes me that Stack Exchange has an unusually heavy ...
4
votes
4
answers
278
views
How do I respond to a Stack Overflow request for an answer with a complete code sample?
How do I respond to a Stack Overflow request for an answer with a complete code sample?
Ideally, I could just upload the HTML file with the styles and JavaScript embedded. Is this possible or ...
18
votes
2
answers
312
views
Unable to perform actions such as deleting comments
The last couple days I've been largely unable to delete comments and perform some other actions on Music. Occasionally it works after a fresh page load but it seems to be completely at random.
...
7
votes
1
answer
64
views
Tag autocomplete in careers
I was editing my Careers 2.0 profile, and I tried to add a new tag to dislikes. I typed a few letters, and the spinner kept spinning, and the list of tags never appeared.
I opened my console and saw
...
2
votes
4
answers
4k
views
Why is Stack Overflow using <noscript>?
The question is not about how <noscript> works, and why it's used, I'm fully aware of that.
Knowing that:
<noscript> only works when JavaScript is disabled by something browser-related (...
-5
votes
1
answer
153
views
Multiple tags with JavaScript off
I'm using Stack Overflow with JavaScript off in Opera 11.61.
I tried to submit a question with two sets of tags, entered like this:
[user-accounts][discussion]
However, when I submitted the ...
5
votes
2
answers
216
views
The stackexchange.com 'sites' page doesn't work without JavaScript
If I visit the stackexchange.com sites page (https://stackexchange.com/sites) with JavaScript off, I get no content, only the general page headers/footers with a big blank mid-section.
There's also ...
1
vote
1
answer
298
views
Why is JS in Stackoverflow not working in Chromium 18 [duplicate]
Possible Duplicate:
JS broken in Chrome 18
Uncaught SyntaxError: Variable 'c' has already been declared
ask:37 Uncaught ReferenceError: StackExchange is not defined
ask:137 Uncaught ...
7
votes
4
answers
168
views
Buttons and Preview gone?
I have been using SO for a few hours this evening and all of a sudden, the edit buttons and preview disappeared. I am using Chrome and OS X 10.7. I just cleared my cache, but the buttons are still ...
3
votes
0
answers
79
views
SO broken due to JavaScript from another domain being blocked or failing to load [duplicate]
Possible Duplicate:
External JavaScript code failed to load
I've got a nice red bar at the top for SO and Meta, telling me:
Meta Stack Overflow requires external JavaScript from another domain,...
1
vote
1
answer
376
views
Stack Overflow mobile CSS and JavaScript framework
What CSS framework (if any) does SO use for mobile devices? Do they also use jQuery?
6
votes
1
answer
76
views
Comment auto-expansion lies to anonymous users
While looking at this comment issue I noticed that when the comments were auto-expanded for me, the "add comment" link was appearing...which was unexpected, since I wasn't logged into that site. While ...
3
votes
2
answers
93
views
Background flash when viewing an answer directly doesn't seem to work
I'm getting the following js errors per browser, on Win7:
Firefox 9.01
h.end is undefined
Chrome 16.0.912.77 m
Uncaught TypeError: Cannot read property '0' of undefined
IE 9.0.8.112
SCRIPT5007: ...
6
votes
1
answer
145
views
JavaScript errors in other tabs when chat is open
I am getting the following JavaScript error message in other tabs (not Stack Exchange sites, maybe other tabs with sites that use JavaScript code?) when I have chat.stackexchange.com open:
[...
1
vote
0
answers
219
views
Stack Overflow JavaScript broken [duplicate]
Most, if not all, of the Stack Overflow JavaScript appears to be broken with the error:
Uncaught SyntaxError: Variable 'n' has already been declared
In full.js on Meta Stack Overflow and on some ...
8
votes
1
answer
187
views
Reject button not working on the second click
The Reject button cannot be clicked again when closing the Reject screen using ESC.
Steps to reproduce
Visit the Suggested edits screen (or an individual suggested edit).
Hit the Reject button (a ...
16
votes
4
answers
2k
views
JavaScript answers using ES5 features: Warn or not?
I recently saw an answer to a JavaScript question where the answer used Array#filter without mentioning that it's a new feature of JavaScript as of ECMAScript 5th edition (aka ES5), so I commented ...
3
votes
1
answer
91
views
Voting arrows loading glow
When I upvote/downvote a question or answer, the arrow turns orange (in the StackOverflow case) and afterwards, my vote is cast. If the vote fails to cast, for reasons like loading error or vote cap, ...
4
votes
1
answer
506
views
"Stack Overflow requires external JavaScript from another domain, which is blocked or failed to load." [duplicate]
Possible Duplicate:
ajax.googleapis.com blocked by OpenDNS. Confirmation?
I'm not sure if this is the right place to ask this, but since this morning when I opened StackOverflow that error ...
9
votes
2
answers
316
views
Canonical "Ajax is asynchronous" answer? [closed]
I see a lot of questions (e.g. here or here, just in the past couple of hours) where the poster is making an Ajax call within a function (and doing something with the results in a callback) and doesn'...
6
votes
1
answer
327
views
Why would the SO developers use `document.write`? [closed]
This is a spin off of this question: Why is the SO system message written in by javascript?
Why would they use document.write?
Current Code on page:
<div id="system-message-temp">
<...
4
votes
1
answer
322
views
Login dialog of StackExchange doesn't offer fields for email and password in WebKit based browsers
I don't use Google, Facebook, Yahoo or OpenID. So I login to my new StackExchange-Account via the login-dialog of StackExchange itself.
Don't have an account?
-> click here to sign up
If you’ve ...
3
votes
2
answers
177
views
Does anyone know what kind of tools Stack Overflow is using to manage javascripts and CSS? [duplicate]
Possible Duplicate:
Which tools and technologies build the Stack Exchange Network?
When I search for
javascript CSS management stackoverflow
I get lot of interesting stuff but I'm interested ...
70
votes
1
answer
2k
views
Make Stack Exchange sites compatible to OS X Lion full screen mode
Introduction
Mac OS X Lion has a full screen feature that allows use of a single application window in full screen, i.e. without window title bar and constantly visible menu bar, on its own virtual ...
8
votes
1
answer
10k
views
How does SE determine the CSS and JS version parameter?
According to the source, the JS and CSS files I'm loading are:
stub.js?v=e922af98260a
all.css?v=b7ced9688c61
Just wondering how those "v" parameters are generated. On my websites I generally just ...
-1
votes
2
answers
154
views
How can I derive a Q&A from an existing Q&A in Stack Overflow?
I've been wanting to derive a question from an existing question because the current question is close, but maybe it is missing a specific aspect I am interested in using in my programs. Should I ...
4
votes
0
answers
134
views
What does Stack Overflow use to keep track of edits?
I am wondering how Stack Overflow keeps track of edits.
Does anyone know how it is done? I am talking about the characters added, etc.
I think Stack Overflow uses this Javascript diff algorithm:
...
5
votes
1
answer
154
views
Problems with careers.stackoverflow.com and javascript?
I have tremendous problems using SO today, as almost all javascript-bound links ends up just navigating to the top of the page.
At the same time, the page has this status text:
Waiting for careers....
2
votes
1
answer
136
views
'Edit tags' sometimes not working
At odds, when I try to edit a question's tags, I get this error when clicking 'Save Tag Edits':
Uncaught TypeError: Cannot call method 'find' of undefined
The corresponding code appears to be ...