Someone else has brought to my attention that the current hosts file from IHG still does not handle some -box scenarios. The solution shown
here should, although I'd now re-write that very slightly to:
Host Label: imgbox
URL Pattern: http:\/\/imgbox\.com\/\w+
Search Pattern:
Code:
function(pageData, pageUrl) {
var iUrl = pageData.match(/src=('|")(https?:\/\/)(i|images\d+?)(\.imgbox\.com\/.+?)\1 title=('|")(.+?)\5/);
return iUrl ? {imgUrl: iUrl[2] + iUrl[3] + iUrl[4], fileName: iUrl[6], status: "OK"} : {imgUrl: null, status: "ABORT"}
}