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

-12
votes
1answer
130 views

Exploiting Stack Exchange with the browser console

I viewed the source of a page on Stack Exchange and I discovered that all the up-vote buttons share the same CSS class and so do all the down-vote buttons. That got me thinking: what if user(s) ...
6
votes
1answer
66 views

Where is the StackExchange JavaScript object documented?

I learnt of the StackExchange JavaScript object recently via Tim Stone's answer. Is this is the same object documented in the API documentation? That doesn't mention the using() function from Tim ...
5
votes
1answer
46 views

Can a user script modify or apply syntax highlighting in SE sites?

SE currently use Prettify for syntax highlighting. However, there are still some languages which have no support from default Prettify, or by the extensions that SE may be using. If I wanted to test ...
1
vote
0answers
77 views

What on EARTH is this eggs.js thing? [duplicate]

So, whilst perusing the src for the chat.Travel.SE page to see if the background of the bottom chat bar showed where you were in the world (which would be cool, feature-request), I found a handy ...
-21
votes
1answer
223 views

LibreJS support

It would be cool if Stack Exchange supported LibreJS, a Firefox extension for blocking non-free non-trivial Javascript code. Currently LibreJS blocks almost all of it. For example I had to temporarily ...
1
vote
0answers
35 views

'More hot questions' JS is broken in the new nav

When I try to click the 'more hot questions' link at the bottom of the sidebar on SO or mSE (with the new navigation), it just bumps me to the top of the page and doesn't do anything. Nothing in the ...
1
vote
0answers
37 views

Focus changes when adding tags with Safari

Using Safari 8.0.8 on Yosemite, the focus changes from the tag editor back to the post whenever I add tags, in some SE communities I'm a member of (not sure which ones do it,and which ones don't yet). ...
0
votes
0answers
22 views

Download Stackoverflow's Graph [duplicate]

I like the Stackoverflow's graph to visualize the data, Do you know where I can retrieve the source code? Thank you!
6
votes
0answers
136 views

Login broken without JavaScript (submit button can't be clicked)

Trying to log in with JavaScript disabled does not work. Using a Stack Exchange email and password, the "Log in" button does nothing. This is likely because the <input type="button"> instead ...
-6
votes
1answer
53 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 = ...
9
votes
1answer
153 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
32 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 ...
3
votes
0answers
60 views

Sorting lists fails after first sort in mobile version (change event listener on select element lost)

On the mobile version of Stack Overflow (and most likely on other SE sites as well) sorting a list a second time seems to break after the first sorting. Here’s what I did Go to own profile page (...
4
votes
0answers
99 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
69 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
628 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 core.js,...
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
93 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
68 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
47 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
43 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 again,...
27
votes
1answer
134 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
421 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
254 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
5answers
382 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
248 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
106 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
64 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
78 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
319 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
44 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
232 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 JS-...
8
votes
0answers
251 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 ...
10
votes
0answers
194 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
345 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
5k 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
164 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
102 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 ...
7
votes
1answer
802 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
109 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
254 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 chrome.....
3
votes
1answer
131 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
354 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
133 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
229 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 error....
2
votes
1answer
89 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 debian-...
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 ...