Quote:
Originally Posted by ohmss1956
Thx for your quick reply!
Tried everything above and now IHG won't function at all for Imgbox.
Before it just showed a 'loading' status but now won't come up with anything.
Other hosts work no problem.
Using Pale Moon btw.
Am I doing something wrong?
This is what I have now..
|
It looks like you are missing the curly bracket at the end. Copy the below and replace what you have with this and then save. That should be fine. Copy the text between the lines, starting with the word
function and include the
} below "ABORT"} I've highlighted the start and finish in red.
--------------------------------------------------------------------------
function(pageData, pageUrl) {
var iUrl = pageData.match(/src=('|")(https?:\/\/)(i|images)(\.imgbox\.com\/.+?)\1 title=('|")(.+?)\5/);
return iUrl ? {imgUrl: iUrl[2] + iUrl[3] + iUrl[4], fileName: iUrl[6], status: "OK"} : {imgUrl: null, status: "ABORT"}
}
--------------------------------------------------------------------------