I found a new type of url that ends in "_500h.jpg" on this (NSFW) tumblr post. The script in its current form will redirect to "_rawh.jpg" instead of the intended "_raw.jpg". While I'm not sure if this issue is widespread enough to warrant a full update, I still thought it prudent to create a simple hotfix: if(window.location.host.indexOf("media.tumblr.com") > 0) { window.location = window.location.href.replace(/..\.media\.tumblr\.com/,"media.tumblr.com").replace("_1280h","_raw").replace("_540h","_raw").replace("_500h","_raw").replace("_400h","_raw").replace("_250h","_raw").replace("_100h","_raw").replace("_1280","_raw").replace("_540","_raw").replace("_500","_raw").replace("_400","_raw").replace("_250","_raw").replace("_100","_raw"); }
Found new "h." url bug
I found a new type of url that ends in "_500h.jpg" on this (NSFW) tumblr post.
The script in its current form will redirect to "_rawh.jpg" instead of the intended "_raw.jpg".
While I'm not sure if this issue is widespread enough to warrant a full update, I still thought it prudent to create a simple hotfix:
if(window.location.host.indexOf("media.tumblr.com") > 0) {
window.location = window.location.href.replace(/..\.media\.tumblr\.com/,"media.tumblr.com").replace("_1280h","_raw").replace("_540h","_raw").replace("_500h","_raw").replace("_400h","_raw").replace("_250h","_raw").replace("_100h","_raw").replace("_1280","_raw").replace("_540","_raw").replace("_500","_raw").replace("_400","_raw").replace("_250","_raw").replace("_100","_raw");
}