Greasy Fork is available in English.

ChatGPT output HTML direct

ChatGPT直接輸出HTML

< Feedback em ChatGPT output HTML direct

Pergunta/comentário

NWP
§
Publicado: 08/02/2024

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".

§
Publicado: 15/02/2024

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
§
Publicado: 16/02/2024

Thank you for clarifying the situation!

NWP
§
Publicado: 16/02/2024
Editado: 16/02/2024

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.

Publicar resposta

Faça o login para publicar uma resposta.