Inject .js file in your NFT document page, then call extractAs function.
There are two options for extraction method:
TXTas argument: returns a document with downloadable .txt files, includingdata:plain/txt;base64encoded dataPNGas argument: returns a document with downloadable .png files, includingdata:image/png;base64encoded data