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
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
22
votes
1
answer
327
views
Clicking on the Stack Exchange bubble on the top bar doesn't do the usual dropdown, and kicks me to Stack Exchange.com on *some* sites
Clicking on the Stack Exchange bubble should bring down the site switcher:
On Super User, it kicks me over to the main stackexchange.com site. It works fine on MSE.
Super User is on rev 2025年8月20日....
20
votes
0
answers
201
views
No access to unminified site resources any more
In the recent past we were able to access unminified versions of the code running on the pages by trying to get dev versions of them from the CDN. This worked for years and up to maybe two weeks ago. ...
5
votes
1
answer
221
views
What is StackExchange.options.site.negativeVoteScoreFloor?
While perusing the StackExchange JS global object, I noticed StackExchange.options.site.negativeVoteScoreFloor. From searching the Internet Archive, it seems to have appeared some time around October ...
starball's user avatar
starball Mod
- 36.8k
9
votes
2
answers
157
views
The preview link on the community digests page is broken
Clicking on one of the preview links on the network community digests page results in a blank white box filling the screen and an error being logged to the console.
This is from clicking the preview ...
7
votes
0
answers
135
views
"more hot questions" link is broken
When I visit a question, and then try to use the 'more hot questions' link in the sidebar, it doesn't work as advertised. Hovering over it shows me the URL of the post I'm currently on, and clicking ...
7
votes
0
answers
169
views
Have an option to permanently switch to the jQuery fallback across all SE sites
Every SE site loads script from https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js. Unfortunately, the majority of Google's domains, including ajax.googleapis.com, are blocked by GFW.
...
15
votes
1
answer
346
views
What are the selected vote button colors?
Edit: user3840170's stylesheet does what I was planning to do, and is a cleaner solution than anything I would have come up with.
I'm working on a userscript to reverse the upcoming vote button ...
4
votes
1
answer
363
views
Can't comment because of a bug
Wherever I click Add a comment on Stack Exchange sites, even on my own questions, the screen gets like this:
without any possibility to comment. How can I fix it?
I'm using Chrome version 111.0.5563....
3
votes
0
answers
64
views
Can the other external JavaScript content be automatically used? [duplicate]
When browsing a Stack Exchange site and encountering a message like
... Stack Exchange requires external JavaScript from another domain, which is blocked or failed to load. Retry using another source....
50
votes
1
answer
754
views
2023 DOM Changelog for Userscript Community
Here's a thread to catalog any minor DOM updates we do throughout 2023 just to give folks in the user community a bit of a heads up and an official source of documentation around any DOM changes.
...
KyleMit's user avatar
- 12.8k
11
votes
1
answer
1k
views
I'm getting "Uncaught ReferenceError: Stacks is not defined" errors in my browser console on Stack Exchange sites
The last few weeks the amount of 'Stacks is not defined' errors is increasing.
This occasionally occurs on any StackExchange site, and throws the following error in the console [1]:
Uncaught ...
37
votes
1
answer
670
views
JavaScript is broken
Some things I noticed:
Editing inline is broken
The editing toolbar is missing on the old editor
Tags don't appear
Can't "Review question" to be able to post normally
An error is present ...
12
votes
0
answers
90
views
Attempting to protect a question that is no longer eligible for protection silently fails
I opened a question that had just gotten a new answer. The answer scores were as follows:
65
10
7
4
-1 (new answer)
0 (deleted)
0 (deleted)
-2 (deleted)
The protect link was present on the question. ...
11
votes
0
answers
197
views
When JavaScript is disabled, sort orders other than "votes" are buggy
I normally browse Stack Exchange with JavaScript disabled, and reading, searching, etc. mostly work just fine in that context. However, sort orders other than "votes" are broken, for users ...
13
votes
1
answer
540
views
Toast notifications are not being shown; a TypeError in `StackExchange.helpers.showToast` is thrown instead
Some toast notifications (i.e. those banners as shown in this screenshot) are not being shown; an error is visible in the console instead.
This bug applies to Meta Stack Overflow and Meta Stack ...