Name of a resource defined in the Metadata Block.
OptionalisBlobUrl: booleantrue, returns a blob: URL. It's short and cacheable, so it's good for reusing in multiple DOM elements.false, returns a data: URL. It's long so reusing it in DOM may be less performant due to the lack of caching, but it's particularly handy for direct synchronous decoding of the data on sites that forbid fetching blob: in their CSP.
Retrieves a
blob:ordata:URL of a resource from the Metadata Block.Note: when setting this URL as
srcorhrefof a DOM element, it may fail on some sites with a particularly strict CSP that forbidsblob:ordata:URLs. Such sites are rare though. The workaround in Chrome is to useGM_addElement, whereas in Firefox you'll have to disable CSP either globally viaabout:configor by using an additional extension that modifies HTTP headers selectively.