Codeberg is giving me headache on PM

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
nicaragua
Moongazer
Moongazer
Posts: 14
Joined: 2019-02-18, 15:02

Codeberg is giving me headache on PM

Post by nicaragua » 2023-05-12, 09:06

Tried in 32.1.1 and 32.1.0 x86 on W10. Fresh profile, `palemoon --no-remote --profile 123qwe`.

1. Try opening a single tab, e.g. https://codeberg.org/hiiamboris/red-spa ... plates.red
Let it painfully load, then press Ctrl+F to try and find anything. 10-15 second lags on every action.
2. Try opening 5-10 tabs on the same page. You can kill the browser then, it's no use anymore.

I realize this is likely some half assed coding on their side. But I migrated to Codeberg because GH was super slow. Now they change sides. Dunno how one can bring Gitea fork to such condition.

Anyway, it seems more or less okay in Brave, so either there's some conflict with PM, or it's just too old for such crappy sites.

Any workaround known or comes to mind? I can tell it's lousy CSS - if I turn off CSS (in not fresh instance), it's fast again (but I can't make heads or tails of the page =)

Code: Select all

Content Security Policy: The page’s settings observed the loading of a resource at self (“script-src https://codeberg.org https://*.codeberg.org https://codeberg.org”). A CSP report is being sent. Source: 
	window.addEventListener('error', funct....  
templates.red:23
Content Security Policy: The page’s settings observed the loading of a resource at self (“script-src https://codeberg.org https://*.codeberg.org https://codeberg.org”). A CSP report is being sent. Source: onerror attribute on SCRIPT element.  
templates.red
Content Security Policy: The page’s settings observed the loading of a resource at self (“script-src https://codeberg.org https://*.codeberg.org https://codeberg.org”). A CSP report is being sent. Source: call to eval() or related function blocked by CSP.  
index.js:19

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

Re: Codeberg is giving me headache on PM

Post by Moonchild » 2023-05-12, 10:09

This seems to be related to their scripting responding to viewport size changes (it changes when you open the search bar, for example). wouldn't surprise me if it is the infamous mutation observer problem where they call the mutation observer in their own observer callback causing a recursive mutation event storm.

I've not had time to dig into their web code, though, so it's a wild guess.
"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