Laravel.com broken on Pale Moon 33.8.0

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
ajgelado
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2020-02-04, 06:04

Laravel.com broken on Pale Moon 33.8.0

Post by ajgelado » 2025-07-07, 13:08

Laravel.com is broken in Pale Moon. The front page shows several layers one on top of another, and the docs, the main reason I visit the site, have a broken contents panel overlapped with the content. Tested in a clean profile, in (currently) the most recent version of Pale Moon (33.8.0).

The console shows dozens of "x is not defined" and "unreachable code" errors and warnings. The full log is about 22 KB of text in 421 lines, and the site is publicly accessible anyway, so I guess it isn't convenient to past it here. Here are some of the most repeated entries in the log:

Code: Select all

TypeError: e.hidePopover is not a function
Alpine Expression Error: sideTabs is not defined
Alpine Expression Error: selected is not defined
ReferenceError: sideTabs is not defined
unreachable code after return statement
If I can do anything to help diagnose the problem, just tell me.

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2519
Joined: 2018-05-05, 13:29

Re: Laravel.com broken on Pale Moon 33.8.0

Post by vannilla » 2025-07-07, 16:23

hidePopover is https://developer.mozilla.org/en-US/doc ... idePopover which is part of https://developer.mozilla.org/en-US/doc ... opover_API
MDN says it was made available in Firefox 125 which was released about a year ago. Probably UXP doesn't have it implemented it yet because it was never used until recently.
Other errors and broken stuff likely are a consequence of that error, since it's the very first.
Additionally, the site uses the Alpine framework (https://alpinejs.dev/) which is most likely yet another piece of code aimed at Chrome and children.

User avatar
Moonchild
Project founder
Project founder
Posts: 38821
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Laravel.com broken on Pale Moon 33.8.0

Post by Moonchild » 2025-07-07, 17:40

vannilla wrote:
2025-07-07, 16:23
Additionally, the site uses the Alpine framework (https://alpinejs.dev/) which is most likely yet another piece of code aimed at Chrome and children.
Alpine doesn't seem to be the problem.
https://alpinejs.dev/components has all its controls/components in live examples, and they all work fine in Pale Moon.
vannilla wrote:
2025-07-07, 16:23
Probably UXP doesn't have it implemented it yet because it was never used until recently.
We most definitely don't have it. It's <dialog>-adjacent but I really don't understand why they want to offload this to the browser as a separate API.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

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

Re: Laravel.com broken on Pale Moon 33.8.0

Post by adoxa » 2025-07-08, 01:36

Here's a Modify HTTP Response filter to polyfill popover (just for docs, not other pages) and use overflow-y:hidden instead of clip (fixes the menu). There are other issues I didn't address (TailwindCSS using min, aspect-ratio & subgrid) as they don't seem to affect the docs.

Code: Select all

[["laravel.com",["/docs/",["<script","<script src=\"https://cdn.jsdelivr.net/npm/@oddbird/popover-polyfill@latest\" crossorigin=\"anonymous\" defer></script><script"]],["/app-.*\\.css$/",[":clip",":hidden"]]]]