Undo Twitter's insistence to down-res images when viewing on its dedicated page and add a button to download the full image without the weird file extensions which don't count as actual images.
< 脚本View Full Twitter Image的反馈
I have also changed the following line because it did not update / relocate to the updated URL anymore for some reason. (this line is not shown above, it's part of the old handler).
location.href.replace(":large", ":orig")
to
window.location.assign(location.href.replace(":large", ":orig"));
Thanks for informing me about the changes to the API, as well as submitting your diff. I'll look into updating the code based on your fork once I have time.
New Twitter API is upon us, patch submitted here
Twitter is pushing a new API and picture requests have changed. As described in my fork there: https://greasyfork.org/en/scripts/382443-view-full-twitter-image
Feel free to merge or improve if you want to. Hope that helps!
Below is mostly what was added: