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.
224 questions
5
votes
1
answer
213
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 ...
9
votes
2
answers
149
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
129
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
161
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
332
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
355
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
728
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.
...
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
650
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
85
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
196
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
531
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 ...
9
votes
0
answers
157
views
In review queues, when clicking “links” with `href="#"`, the popstate event is dispatched without a state, throwing a TypeError
While trying to reproduce another bug, I found this error in the browser console while in the review queues:
Uncaught TypeError: can't access property "reviewTaskId", t.state is null
...
9
votes
4
answers
1k
views
Stack Exchange changes broke UI on multiple legacy browsers - Again
The previously reported and resolved issues of broken UI behaviour on legacy browsers (Latest Stack Exchange changes broke UI on Firefox Android), specifically, Firefox 68.11.0 (the last one before ...