Stable Diffusion image metadata viewer

Show Stable Diffusion generated image's metadata

< Feedback on Stable Diffusion image metadata viewer

Review: ठीक - स्क्रिप्ट चालते, पण त्यात बग आहेत

§
पोस्ट केले: 2023-02-10
संपादित केले: 2023-02-10

Doesn't work with urls like this
example.com/image.png?a.a=b.b
example.com/image.png#cccc

line 25:
const ext = img.src.match(/[^.]+$/)[0].toLowerCase();
->
const ext = img.src.split(/[#?]/)[0].split('.').pop().trim().toLowerCase();

himuro_majikaलेखक
§
पोस्ट केले: 2023-02-11

Thank you for feedback. Your code correctly works completely. I reconsidered file extention's condition is needless. It is better way for User Include.

उत्तर पोस्ट करा

उत्तर पोस्ट करण्यासाठी साइन इन करा.