space.com missing all layout information

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.
User avatar
jogar2
New to the forum
New to the forum
Posts: 2
Joined: 2022-07-20, 16:33

space.com missing all layout information

Unread post by jogar2 » 2024-03-26, 18:47

This started happening in the last few weeks. https://www.space.com/ is missing all formatting. There are some errors showing up in the console that don't show up in Firefox:

Code: Select all

ReferenceError: handleHeaderError is not defined[Learn More]  
www.space.com:1:1

fep ga exc a[0] is undefined  
www.space.com:711:3981

ReferenceError: PerformanceObserver is not defined[Learn More]  
main.9941e79332c7ef92f74f.bundle.js:1:46411

PageLoad at 2302  
www.space.com:445:3317

Error: Unable to obtain consent
Stack trace:
e/<@https://freyr.futurecdn.net/freyr.js:1:76864
o/</<@https://freyr.futurecdn.net/freyr.js:1:76510
o/<@https://freyr.futurecdn.net/freyr.js:1:76615
gn@https://freyr.futurecdn.net/freyr.js:1:74932
s@https://freyr.futurecdn.net/freyr.js:1:78374
freyr.js:1:81357


tpcsanh
Apollo supporter
Apollo supporter
Posts: 37
Joined: 2015-08-22, 13:45
Location: US

Re: space.com missing all layout information

Unread post by tpcsanh » 2024-03-26, 23:06

I am guessing this might be the same issue seen on the Toms Hardware site:

https://forum.palemoon.org/viewtopic.php?f=70&t=30997

Several entries with this:

Code: Select all

Unrecognized at-rule or error parsing at-rule ‘@layer’. 1 www.space.com:450

User avatar
adoxa
Fanatic
Fanatic
Posts: 170
Joined: 2019-03-16, 13:26

Re: space.com missing all layout information

Unread post by adoxa » 2024-03-27, 01:36

Yep, same thing. Here's a Modify HTTP Response filter to remove @layer (for both sites); they seem okay after that (although I only looked at the first page).

Code: Select all

[["/www\\.(space|tomshardware)\\.com/",["/^[^.]*$/",["/@layer \\w+\\ ?{/g",""]]]]