JavaScript is a popular client-side web scripting language. This tag is for questions relating specifically to the use of JavaScript on the Stack Exchange sites.

learn more… | top users | synonyms

-5
votes
1answer
65 views

What does this red background dialog means? [duplicate]

Recently i saw a dialog with red background appeared in my SO page in Web Browser. What does it mean? and because of this dialog my SO site is not loaded questions properly..
8
votes
1answer
49 views

Which licences are acceptable for Javascript libraries embedded in SE sites?

Several SE sites have certain custom Javascript libraries that provide functionality that specific to those sites. For example, the Mathematics sites as well as many Science sites use MathJax to allow ...
6
votes
1answer
35 views

“Reject” popup is doublified in JavaScript when reviewing suggested edits

I was in the middle of writing a script to add keyboard shortcuts to /review pages, and I came across something... weird. Screenshot (click to enlarge): As you can see, there are two divs with an ...
2
votes
0answers
28 views

No disabled JavaScript warning on new mobile version

I was testing how a website worked without JS on my phone, and when I tried using SO, it just didn't work. There is no "JavaScript is disabled" banner; the inbox, rep tab, voting buttons, etc. just ...
1
vote
0answers
41 views

How do I troubleshoot when voting isn't working?

Today, I can't vote, at least on Travel.se and possibly on other sites. Sometimes, I get the red "an error occurred, please retry" message and sometimes it appears to work but if I load the page ...
27
votes
1answer
130 views

Can't flag or close questions on all sites

Whenever I try to flag or close a question here, when clicking the submit button the button gets disabled, three dots animating and nothing really happens. JS console show a single error: Flagging: ...
31
votes
1answer
394 views

Help me reverse-engineer Unicoin [closed]

Here; have the full, uncompressed source code for Unicoin you code monkeys! http://dev.stackoverflow.com/content/js/stub-uc.js This section looks pretty interesting: var loadingVersions = {}; var ...
3
votes
1answer
194 views

Stack overflow lied to me illegally [closed]

I saw @jfatty's comment on stack overflow question about jQuery. I then downloaded the jQuery Diet Plugin, and I followed the detailed tutorial, but it isn't working? Stack Overflow LIED to me. In ...
29
votes
6answers
355 views

How to effective mine more Unicoins by hammering rocks? [duplicate]

I've clicked the hell out of this Unicorn-app and almost destroyed my mouse - got some suggestions on how to be more effective mining Unicoins? I mean, there must be some javascript-hack? Placed ...
7
votes
1answer
196 views

Apparent recent change introduced an invalid character?

I'm stuck with Internet Explorer, so this matters to me. It appears to me that there's been a recent change to Stack Overflow which introduced the error below. The symptoms I see are that I can ...
3
votes
0answers
38 views

Most JS buttons on SE and SO stopped working this weekend [duplicate]

I use Stack Overflow and the related sites on a semi-daily basis. Today I found that the following no longer works (the buttons do nothing): "Log in using Google" on at least rpg.se (I can work ...
0
votes
0answers
73 views

Content loss when CAPTCHA modal gets reloaded? (e.g., because JavaScript from google.com is disallowed)

The following just happened to me (on softwarerecs, but I guess it should be the same for all SE sites): I was entering a new question. When trying to post it, I was asked to solve a CAPTCHA. (*) ...
10
votes
1answer
60 views

Voting writes a debugging message to the javascript console

If you vote on any question or answer, the javascript console log spits out: isElectionPrimary: false This comes from full.en.js line 184: console.log("isElectionPrimary: "+c);
4
votes
0answers
71 views

Race condition in Low Quality audit

I was just reviewing in the Low Quality queue, and after clicking the confirmation button on the dialog to close this question as "question as an answer", I accidentally clicked again somewhere in the ...
22
votes
1answer
289 views

Cookies and JavaScript for teststackoverflow.com — legitimate?

Can someone authoritative explain what the cookies that teststackoverflow.com wants to set are for (tracking — I know, but tracking what, and what's wrong with the regular stackoverflow.com and is ...
0
votes
2answers
38 views

Don't understand code submission error in text box. [duplicate]

I have been trying to submit my html and java script to help with the clarification of a question. I created the html and java script in notepad++, so i thought it was properly formatted. I even ...
25
votes
5answers
215 views

Eeeeek! MSO JS is all borked!

I just noticed that clicking a JS-like link on MSO (like to show more hot network questions) just bumps me to the top of the page and doesn't do anything else. Also, adding a comment or any other ...
5
votes
0answers
162 views

Stack Overflow login is very complicated without third-party cookies and NoScript

I try to login with OpenID (stackexchange.com provider) with third-party cookies disabled and NoScript (with sane setup: always allow main domain). First you need to click two times "temporary allow ...
9
votes
0answers
185 views

How did “JavaScript is broken on meta” and my answer get upvoted while JavaScript was still broken on meta?

Would comment on my answer, but I couldn't as JavaScript was still broken on meta at the time. Would add another answer, but I couldn't as JavaScript was still broken on meta at the time. Therefore ...
18
votes
4answers
297 views

JavaScript is broken on meta

I'm getting this error in Firebug: TypeError: l is undefined http://meta.stackoverflow.com/content/Js/full.en.js?v=29537078da9e Line 45 The icons in the top bar aren't clickable and I don't ...
8
votes
1answer
3k views

Browser console repeatedly prints “Error calling method on NPObject” on Stack Overflow

I was not signed into the site when I got this error. When I open any question on the Stack Overflow site, if I open the browser console, I keep getting an error message being continuously printed. ...
-2
votes
2answers
103 views

Bookmarking search query using javascript [duplicate]

Please provide me search queries for the below criteria,So that I can bookmark these links in my browser or use it in search box of Stackoverflow. Search all questions tagged ONLY java and asked ...
-10
votes
1answer
88 views

Privilege creation: answering and up-voting without JavaScript

I would like the creation of the privilege to answer and upvote, logged in but without JavaScript. Set it at as high as 1000 points, if you fear robots. You may even take, for example, 200 points to ...
12
votes
0answers
54 views

Allow privileges links to be clicked without JavaScript

On a privileges page, each of the privileges are only clickable when JavaScript is enabled, even though they simply link the user to another page. Can we wrap each of the div.privilege-table-rows with ...
5
votes
1answer
338 views

What is formatunicorn for strings?

This is a serious post about unicorns! Here is a unicorn for everyone's enjoyment But in all seriousness, I was testing out some stuff for a Javascript question on strings, so I opened up the ...
11
votes
1answer
95 views

Preview Breaks with Invalid Tag Name [tag:+]

In the formatted preview for Questions & Answers, typing a tag link with an invalid tag name "crashes" the preview. As soon as you type the following the preview stops updating and an error can be ...
2
votes
0answers
159 views

How to unblock the stackoverflow site?

I'm seeing currently this message: Stack Overflow requires external JavaScript from another domain, which is blocked or failed to load. I'm facing this problem only in firefox but not in ...
3
votes
1answer
115 views

Filter out results and answers that involve jQuery

Is there any easy way in Stack Overflow to filter out all solutions that involve jQuery. Due to licensing restrictions I only want to view solutions that use pure JavaScript.
1
vote
1answer
270 views

Meta Stack Overflow requires external JavaScript from another domain, which is blocked or failed to load

I know this appears to be a duplicate. It's been brought up a dozen times on meta.stackoverflow.com. I've read many of them, but none of them really describe my scenario which I've been unable to ...
4
votes
1answer
124 views

What Jquery plugin is used in Stack Overflow help section?

I want to ask the Stack Overflow owners: what JavaScript library is used in Stack Overflow help section? I like the animation that occurs when a part of the page is reached by scroll or just ...
-3
votes
1answer
223 views

bug in error messages in IE 10 [closed]

While using Internet Explorer 10, I am having problems MOST OF THE TIME when creating a new question, editing a question, or checking a question for the correct answer when there is a validation ...
2
votes
1answer
78 views

What's with all the WebSocket errors?

I was just chatting in the Tavern when I saw this: click image to enlarge Eeek! Why are there so many WebSocket errors? I'm using Chrome 28.0.1500.95 (Official Build 213514) m.
-2
votes
1answer
76 views

Expanding comment-list does not work [duplicate]

I'm trying to view the expanded comments here: How can I prevent SQL injection in PHP? (answer by Zaffy - "add / show 30 more comments")but it just hops to the top of the page I am using ...
1
vote
0answers
52 views

What's the technology used by the tiles at stackoverflow.com's site list? [duplicate]

I'd like to use the tech for stackoverflow.com's site list. The dynamic tile layout is really cool. I wonder how it is built. After viewing the code, I just find jquery js reference. Is it built ...
12
votes
3answers
281 views

“Add comment” button no longer working on any Stack Exchange site for Internet Explorer 8

Today at 12:30 PM CST, the "add comment" button stopped working on any Stack Exchange site for Internet Explorer 8. It cites a javascript error. (Edit: I'm not using Compatibility Mode, and ...
0
votes
0answers
38 views

Fall back to local jQuery in case Google CDN fails to serve it [duplicate]

I was clicking around Meta Stack Overflow earlier and suddenly ran into a page with a big red error message at the top, "Meta Stack Overflow requires external JavaScript from another domain, ...
0
votes
1answer
687 views

WebSocket connection sometimes hangs while being behind a proxy

I am at work, and I am behind a Squid proxy. Usually everything works fine. But from time to time, I get this (in chrome console:) WebSocket connection to 'ws://sockets.ny.stackexchange.com/' ...
16
votes
2answers
748 views

Dreaded error: “Stack Overflow requires external JavaScript from another domain, which is blocked or failed to load”

I'm a huge fan of SO and also a IE user. I cannot use Firefox or Chrome because of company policy. So I get the dreaded error above. Based on other posts of SO I have tried the following: Typing ...
-17
votes
2answers
159 views

Closed as not constructive by wtf? [duplicate]

I would like to make a request to Stack Overflow's gatekeepers. I am not very good at asking questions and most of the time I do not know the right questions to ask. I find it helpful to read lots ...
9
votes
1answer
177 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 ...
1
vote
0answers
95 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 ...
1
vote
1answer
107 views

Client side JavaScript error in Ask Question page [closed]

The 'Ask Question' page displays Error on Page in the bottom left side of the page. I am unable to Post any Question. I have IE 8 and Windows 7 Professional.
-2
votes
1answer
53 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 ...
4
votes
0answers
144 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 ...
67
votes
0answers
1k 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
0answers
53 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 ...
15
votes
1answer
787 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 ...
2
votes
0answers
79 views

Stackoverflow Review option Broken on FireFox [closed]

On StackOverflow when I click on the review button no posts are displayed today even though posts count is displayed and are available for review. There seems to be a JavaScript error on FireFox (We ...
4
votes
1answer
116 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
0answers
111 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 ...