disable Yahoo system requirements check

First of all thanks to the creator of WebMail Notifier for this very useful addon.
I have a little annoyance using Yahoo Mail in my netbook computer, every time I try to login I get redircted to a page tellimg me:
There seems to be a screen resolution problem.
Your screen resolution is set below our minimum recommendation. When it's set under 1024 x 768 pixels, the all-new Yahoo! Mail won't look as good.
 
To continue to the all-new Yahoo! Mail anyway...

-------------------------------------
http://us.mg4.mail.yahoo.com/dc/launch?sysreq=ignore
the above links is from the page that comes next when you click to continue anyway.
my question is how to edit WebMail Notfier (webmail5.js) to add that ?sysreq=ignore
 
 

tobwithu's picture

Modify as follows

find below

case (ST_DATA_RES):
var fnd=aData.match(/doAction\(\'2\',\s*?\'(\S+?)\'/);

 

modify like this.

case (ST_DATA_RES):
try{ var location=aHttpChannel.getResponseHeader("Location");
location=location.match(/\S+yahoo.com/);
this.mailURL=location+"/dc/launch?sysreq=ignore" }catch(e){}

var fnd=aData.match(/doAction\(\'2\',\s*?\'(\S+?)\'/);

 

thank you, all is good now.

thank you, all is good now.