Page MenuHomeMiraheze

Extension PDFEmbed shows empty page
Closed, ResolvedPublic

Description

When embedding a pdf file is embedded via Extension PDFEmbed a blank page is displayed https://yazz.miraheze.org/wiki/Pdfembed

A error message occurs "static.miraheze.org is blocked"

Event Timeline

Manuela triaged this task as Low priority.Fri, Sep 10, 08:25
Manuela created this task.
Refused to frame 'https://static.miraheze.org/' because it violates the following Content Security Policy directive: "frame-src 'self' www.google.com www.recaptcha.net web.libera.chat snap.berkeley.edu *.youtube-nocookie.com player.twitch.tv platform.twitter.com discord.com discordapp.com embed.nicovideo.jp syndication.twitter.com".

I'm also seeing:

Refused to load the font 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff' because it violates the following Content Security Policy directive: "font-src 'self' data: *.miraheze.org fonts.gstatic.com".

Which we can also probably do to adjust as well.

Do you think that mw.loader.load('https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js', 'text/javascript'); causes the problem? I added this statement to the common.js because of the <math>-bug https://meta.miraheze.org/wiki/Community_noticeboard#Limit_on_%3Cmath%3E_tags_or_just_a_bug?

I have disabled the statement in the common.js and we'll have to wait if this action solves the problem (I think the problem is still in the cache)

greetings

Manuela

The problem is still remaining

Universal_Omega raised the priority of this task from Low to Normal.Tue, Sep 14, 09:29

https://github.com/miraheze/puppet/pull/1969 should resolve the issue, once merged.