https://xkcd.com/3227/ problem

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
thosrtanner
Lunatic
Lunatic
Posts: 465
Joined: 2014-05-10, 18:19
Location: UK

https://xkcd.com/3227/ problem

Post by thosrtanner » 2026-04-01, 21:34

Please always mention the name/domain of the website in question in your topic title.

It's only this page that has an error (and the working page is amazingly funny). The popup only manages to work for some of the entries. Probably because if the illegal constructor I'd imagine. about where is says "b=new CSSStyleSheet'

Code: Select all

22:30:00.904 GET 
https://xkcd.com/3227/ [HTTP/1.1 304 Not Modified 26ms]
22:30:01.000 GET 
https://xkcd.com/s/7d94e0.css [HTTP/1.1 200 OK 0ms]
22:30:00.999 GET 
https://xkcd.com/3227/5710add.js [HTTP/1.1 304 Not Modified 5ms]
22:30:01.004 GET 
https://xkcd.com/s/0b7742.png [HTTP/1.1 200 OK 0ms]
22:30:01.004 GET 
https://imgs.xkcd.com/comics/creation_2x.png [HTTP/1.1 200 OK 0ms]
22:30:01.006 GET 
https://imgs.xkcd.com/s/a899e84.jpg [HTTP/1.1 200 OK 0ms]
22:30:01.008 GET 
https://imgs.xkcd.com/s/temperature.png [HTTP/1.1 200 OK 0ms]
22:30:01.022 GET 
https://xkcd.com/s/919f27.ico [HTTP/1.1 200 OK 0ms]
22:30:01.033 TypeError: Illegal constructor.[Learn More]  
5710add.js:28:269
	<anonymous>

User avatar
Mæstro
Board Warrior
Board Warrior
Posts: 1091
Joined: 2019-08-13, 00:30
Location: Casumia

Re: https://xkcd.com/3227/ problem

Post by Mæstro » 2026-04-01, 22:48

Since I have been visiting Xkcd scriptless for twenty years, I can attest that the site degrades gracefully for me. Others should know that Randal Munroe, the wbemaster, regularly releases JavaScript-based games, applets or interactive comics on April Fool’s (documentation), but these appear as ordinary comics if scripts are disabled. It should be noted that he very seldom revises anything once he has uploaded it, even to correct errors.
Life is a fever dream Mæstro would enjoy.
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build

BenFenner
Keeps coming back
Keeps coming back
Posts: 882
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: https://xkcd.com/3227/ problem

Post by BenFenner » 2026-04-01, 23:48

PLEASE link the page! Don't make us work!

Clicky: https://xkcd.com/3227

User avatar
adoxa
Astronaut
Astronaut
Posts: 616
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: https://xkcd.com/3227/ problem

Post by adoxa » 2026-04-02, 01:57

A Modify HTTP Response filter to insert the style; some still don't work properly because they use nested styles.

Code: Select all

[["xkcd.com",["/3227/5710add.js",["/new CSSStyleSheet[\\s\\S]*?('[\\s\\S]*?')[\\s\\S]*?\\[b\\]/","document.createElement(\"style\");b.textContent = $1;document.head.appendChild(b)"]]]]

thosrtanner
Lunatic
Lunatic
Posts: 465
Joined: 2014-05-10, 18:19
Location: UK

Re: https://xkcd.com/3227/ problem

Post by thosrtanner » 2026-04-02, 05:37

I feel I should point out it works fine in firefox and edge.