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
46 views

Can the live-updating also load the content of the post?

Could the live-updating box auto update everything? Instead of showing a box, why not: Just get the new post content, unless you're on SO Do this: window.setInterval(function() { var activity = ...
6
votes
0answers
68 views

Sometimes a SyntaxError is logged to console while viewing questions on Stack Overflow

I am not sure if it is related to the Stack Exchange network, but the Developer Tools in Chrome sometimes log an Uncaught SyntaxError: JSON.parse while viewing questions on Stack Overflow. The ...
3
votes
0answers
27 views

Can Chat allow POST requests from all origins? [duplicate]

In chat, I can read events by sending a POST request to this URL: http://chat.meta.stackexchange.com/chats/roomID/events However, there seems to be a Same Origin Policy, preventing CORS. Could it ...
4
votes
0answers
87 views

Bug in reputation tab in stackoverflow?

Today I was using the graph located in the reputation tab for my own profile in Stack Overflow: As you can see it says select an area by dragging across the lower chart But nothing happens if ...
11
votes
1answer
64 views

Why is text disappearing from my answer? This doesn't happen when I disable javascript

Take a look at the answer here: music.stackexchange answer I use semi-ascii formated tables. They show up in editing mode. But they disappear shortly after 1 sec when the question page loads. When ...
-7
votes
1answer
226 views

What is core.js and where is it?

In every single question about "How many secret hats are there", there's this sentence which I don't understand... ...according to core.js, there are 8 secret hats and... What exactly is ...
0
votes
0answers
22 views

Strange message at the top of the screen: external JavaScript … is blocked or failed to load [duplicate]

When viewing this question, I receive the following message with big white letters on red background: Cross Validated requires external JavaScript from another domain, which is blocked or failed ...
-5
votes
1answer
86 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
59 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
46 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
38 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
42 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
132 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
409 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 ...
5
votes
1answer
236 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 ...
28
votes
6answers
368 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
226 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
40 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
93 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
62 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);
5
votes
0answers
77 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
310 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
41 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
224 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 ...
6
votes
0answers
206 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
188 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
324 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
4k 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
141 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
93 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 ...
5
votes
1answer
550 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
107 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
205 views

How to unblock the stackoverflow site? [closed]

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
124 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
319 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
128 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
227 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
88 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
78 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
287 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
40 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
1k 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
938 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
164 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
233 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
125 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
111 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
54 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
148 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 ...