mirror of
https://github.com/mirror/jdownloader.git
synced 2024-11-27 05:50:51 +00:00
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:
parent
4a0dcf643e
commit
21b06b2b79
@ -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());
|
Loading…
Reference in New Issue
Block a user