JS DOM dummy für Javascript.eval(Browser) erweitert

git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@4371 ebf7c1c2-ba36-0410-9fe8-c592906822b4
This commit is contained in:
coalado 2009-01-27 22:32:21 +00:00
parent 4a0dcf643e
commit 21b06b2b79

View File

@ -117,8 +117,22 @@ Document.prototype.writeln=function(line) {
this.content+=line+"\r\n";
}
/*
Dummy von Window
*/
function Window() {
this.onLoad=function() {
};
}
function setInterval ( e, t){
eval(e);
}
//INIT
navigator= new Navigator();
document= new Document();
location= new Location();
location= new Location();
window=new Window();
document.write(window.onLoad());