application.allowDebug = true;
document = navigator = application;
navigator.userAgent = application.server;
document.getElementById = function () {return null};
document.documentElement = {removeChild: function(){}, insertBefore: function(){}};
document.createComment = function () {};
document.createElement = function ()
{
return {
style : {display: ""},
innerHTML: "",
insertBefore: function () {},
appendChild: function() {},
getElementsByTagName: function () {return []}
}
};
location = {href: "localhost"};
trace("Starting jQuery...");
load("jquery-1.3.2.js");
trace("jQuery started!");
Teraz trzeba tylko nauczyć się jQuery i znaleźć zastosowanie ;o)
