ChatGPT output HTML direct

ChatGPT直接輸出HTML

< 脚本ChatGPT output HTML direct的反馈

提问/评论

NWP
§
发表于:2024-02-08

Thanks!

I've tested out the script with Tampermonkey on Firefox, Chrome, and Edge. What I can say is that the script works well on Firefox, but it doesn't work at all on Chromium-based browsers, where this error shows up:

Refused to frame '' because it violates the following Content Security Policy directive: "frame-src tcr9i.chat.openai.com challenges.cloudflare.com js.stripe.com".

§
发表于:2024-02-15

I have tried some methods, similar to using Chrome, but it doesn't work now. The little tricks don't work either. I can only do it temporarily. Sorry

NWP
§
发表于:2024-02-16

Thank you for clarifying the situation!

NWP
§
发表于:2024-02-16
编辑于:2024-02-16

In the meantime I found the same error:

Refused to frame '' because it violates the following Content Security Policy directive: "frame-src tcr9i.chat.openai.com challenges.cloudflare.com js.stripe.com".

being brought up here:

https://github.com/xcanwin/KeepChatGPT/issues/320#issuecomment-1764780296

I'm currently using ChatGPT HTML previewer Chrome extension for previewing HTML:

https://chromewebstore.google.com/detail/chatgpt-html-previewer/dmbhigjgeppaknfllmgdoeokgheoapjh

Although these 2 Chrome extensions don't seem to work anymore, maybe it's just a problem of not being able to attach the buttons, they might give you an insight into how they made it work in the first place:

  1. ChatGPT Code Previewer: https://chromewebstore.google.com/detail/chatgpt-code-previewer/nneehoocngeghjollhggekdneijekaib

  2. RenderGPT: https://chromewebstore.google.com/detail/rendergpt/faedgcadnkineopgicfikgggjjapeeon

For visualizing the content of the Chrome extensions without having to download them I'm using Chrome extension source viewer: https://chromewebstore.google.com/detail/chrome-extension-source-v/jifpbeccnghkjeaalbbjmodiffmgedin

You can also access the extension from the context menu.

发表回复

登录以发表回复。