Greasy Fork is available in English.

Stable Diffusion image metadata viewer

Show Stable Diffusion generated image's metadata

< Feedback on Stable Diffusion image metadata viewer

مراجعة: Good - script works

§
Posted: 12-05-2023
Edited: 12-05-2023

Due to the latest Content-Security-Policy in browsers, the script has become ineffective. I hope it can be fixed.
this is an example↓
https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8af758cc-37c2-48ca-aa41-4729db53eec0/width=1840/grid-0001-1.jpeg

Refused to apply inline style because it violates the following Content Security Policy directive: "default-src 'none'". Either the 'unsafe-inline' keyword, a hash ('sha256-Uok2etT07nimvrD0JBY/ZlYS3xAfAdOKAkUmemu2L5w='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present. Note also that 'style-src' was not explicitly set, so 'default-src' is used as a fallback.

userscript.html?name=Stable%2520Diffusion%2520image%2520metadata%2520viewer.user.js&id=a2f0be30-6ba5-4245-88af-d1244a307489:51 Refused to connect to 'https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8af758cc-37c2-48ca-aa41-4729db53eec0/width=1840/grid-0001-1.jpeg' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.

himuro_majikaمؤلف
§
Posted: 12-05-2023

Thanks for reporting.
I've fixed this issue using GM API's.
The Content-Security-Policy issue doesn't happen in Firefox, so I didn't notice it right away.
Also, thank you for introducing this script on Civitai!

§
Posted: 12-05-2023

Thanks for reporting.

I've fixed this issue using GM API's.

The Content-Security-Policy issue doesn't happen in Firefox, so I didn't notice it right away.

Also, thank you for introducing this script on Civitai!

thank u for great work!it is very useful.

Post reply

تسجيل الدخول إلى مرحلة ما بعد الرد.