We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to resove: Firefox prevented this page from loading...

  • 10 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 CiaoBella1

more options

Blocked by Content Security Policy

An error occurred during a connection to www.scribd.com.

"Firefox prevented this page from loading in this way because the page has a content security policy that disallows it." On IE, the message said it cannot be loaded in a FRAME. It's a letter!

I looked at and tried some instructions in Content Blocking. No solutions are there. Thank you.

Blocked by Content Security Policy An error occurred during a connection to www.scribd.com. "Firefox prevented this page from loading in this way because the page has a content security policy that disallows it." On IE, the message said it cannot be loaded in a FRAME. It's a letter! I looked at and tried some instructions in Content Blocking. No solutions are there. Thank you.

所有回覆 (10)

more options

This isn't about content blocking, but about CSP policy rules. The website tries to load a page in an iframe and that isn't allowed.

The only workaround is to open the frame URL in a new tab (right-click: This Frame -> Open Frame in New Tab).

more options

The option to right click to open isn't in Firefox, just IE. If so, it wouldn't bother me.

Thank you.

more options

Hi CiaoBella1, could you share a link to a page where you have this problem?

more options
more options

Hi CiaoBella1, the framed page loads from:

https://www.scribd.com/embeds/415706656/content?start_page=1&view_mode=scroll&show_recommendations=false&access_key=key-toL6xFr7MUL7ayGHnS4i

and the page is sent with this header:

content-security-policy: frame-ancestors 'self'

"frame-ancestors" refers to what sites/pages are allowed to embed the content, and 'self' limits the embedding to https://www.scribd.com

That seems like a mistake, but it needs to be fixed by scribd. Until then, you can pop the frame that didn't load into a separate tab using:

right-click > This Frame > Open Frame in New Tab

Ref. https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors

more options

I only understand that scribd has the issue.

Pop the frame? Don't understand, but I know that you cannot right click from FF.

I read the letter already. Can I assume it's a one-off issue (or low probability)?

Thank you for your effort and response. You shaved, didn't you?

more options

Hi CiaoBella1, yes, I shaved it.

I'm puzzled about this part:

I know that you cannot right click from FF.

You cannot right-click the "Blocked by Content Security Policy" text and get the context menu? Does it work any better if you hold down the Shift key while right-clicking?

more options

No website was underlined and I could not see that the website was scribd (if I remember correctly). So yes, I could not get any reaction to a potential right-click action. I think I learned from IE that it was scribd.com.

Just went to the website from the link I posted above. Apparently scribd.com fixed their error/s because the letter is now visible on the HR.

Thank you,

more options

Interesting - yes, I am sure the first screen box was what I saw (I've never worked w/it before) and ignored. The developer tools I don't know how to work with at all.

Ahh. Thank you.