Greasy Fork is available in English.
All image posts in Twitter/X Home, other blog streams and single post views link to the high-res "orig" version. Thumbnail images in the stream are modified to display uncropped.
这些是代码更新过的版本。 显示所有版本
Support x.com domain in addition to twitter.com.This seems to be working without requiring an significant changes to the script..However, future breakage might occur if Twitter/X moves further away from the old Twitter domains (like the image hosting domain twimg.com).
Attempt to handle Twitter WebP image URLs with Chromium-based browsers, as well.
typo
Handle "webp" images for which their originally uploaded image was NOT of type "webp".Twitter/X seems to be using some A/B Testing (Optimizely, Wikipedia) regarding images.Some users receive embedded images coded as webp (smaller size = more efficient) even if the originally uploaded image was of another type (like jpg or png).This makes it hard for the script to determine the link to the original image.I as author of this script currently seem to be in the "B" group - I do not receive any "webp" images!Nonetheless, I've developed a new version if this script (4.0) to try to deal with this "webp" scenario - but full validation testing is obviously difficult...I ask for all who are in the "A" group - i.e. all who do receive "webp" images - to please test this script and to provide extensive feedback if things do break...
small refinement to not fail on cross-site CSS style sheets when unblurring posts
fixed removal of image blurring(It seems Twitter/React now loads some styles on-demand, invalidating my prior caching approach)
Remove blur effects and "sensitive Content" warnings - this was developed and tested for those posts where this warning appears even if it has been switched off in the Profile Settings.Support for Old Twitter UI has been removed.