четверг, 22 мая 2008 г.

Как Thunderbird проходит Acid 2/3

Оказывается и почтовики можно прогнать через Acid 2/3

Here's something fun, and rather interesting. In Tb3, open up a
Console, copy/paste the entire single line javascript string below
(don't change or add line breaks) into the Evaluate textbox, and enter.
Make sure to set pref javascript.allow.mailnews = true. Try with both
Acid tests; change url1 to url2 in the loadURI..

var url1 = "http://acid3.acidtests.org";var url2 =
"http://www.webstandards.org/files/acid2/test.html#top";var threePane =
Components.classes['...@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.

nsIWindowMediator).getMostRecentWindow("mail:3pane");gBrowser
=
threePane.document.getElementById("messagepane");gBrowser.loadURI(url1,
null, null);

Комментариев нет:

Отправить комментарий