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
5
votes
0
answers
95
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 ...
6
votes
0
answers
146
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
319
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
349
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
708
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.
...
10
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
628
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
192
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
511
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
146
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 ...
20
votes
1
answer
307
views
The PGN Viewer (replayer) stopped working on Chess Stack Exchange
On Chess Stack Exchange, there is a jQuery plugin which is integrated to display diagrams like this:
Today (1 February 2022), at around the time when this chess question was first posted, the PGN ...
14
votes
0
answers
1k
views
JS broken on older web browsers due to undefined 'globalThis'
It seems a recent change in StackExchange has rendered it no longer working correctly on my browser (Firefox 60.7esr). The error message is:
ReferenceError: globalThis is not defined
As a result, ...