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: