I wanted to share a userscript that several of the e621 staff team worked on to automatically change Twitter image URLs to the correct full "orig" size.
The script is available at the following sources:
Pastebin: https://pastebin.com/XcuK0r6P
Pastebin Wayback Machine link: https://web.archive.org/web/20250604001737/https://pastebin.com/XcuK0r6P
To use the script, install a userscript manager of your choice to your browser, such as Tampermonkey or Greasemonkey, and paste the contents of one of the above links into a new blank script. Once you have done so, test on a sample URL (SFW, post #3748588). The script will automatically change the size parameter from "680x680" to "orig" and reload the page for the full-size 1280x1024 image.
If the Twitter image server is renamed, simply change the @match and location.assign() lines to follow the new format.
Happy uploading!
Updated