ChatGPT直接輸出HTML
< Feedback on ChatGPT output HTML direct
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
Thank you for clarifying the situation!
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:
ChatGPT Code Previewer: https://chromewebstore.google.com/detail/chatgpt-code-previewer/nneehoocngeghjollhggekdneijekaib
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.
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".