redirect Tumblr image urls to large size (1280)
Automatically redirects image urls on Tumblr to large size.
For example, if you try to access https://foo.media.tumblr.com/bar/foo_bar_400.jpg
instead it will send you to https://foo.media.tumblr.com/bar/foo_bar_1280.jpg
Works for jpg, png but not gif. Modifies the url in the main address bar before the request is sent. chrome.webRequest.onBeforeRequest.addListener(
redirect,
{urls:[<all_urls>],types:["main_frame"]},
["blocking"]);
Author: Jonathan Bao