Add download button to Twitter image, and click to download the original image named by format.
< 腳本TwitterImg Downloader的回應
need a fix in line 118(replace with below) to fix filename generation:
let urlregex = /https\:\/\/(twitter|x).com\//; let array = firstA.href.replace(urlregex, "").split("/");
Because I was quite busy, I only changed the supported URLs and did not test the modified content. Thank you for pointing out the issue.
登入以回復
need a fix in line 118(replace with below) to fix filename generation: