Name: Anonymous 2010-11-10 13:21
i getting some fun whit bookmarklets but have some problems
i make a new window
javascript:win=open('','Z6','width=400,height=200,scrollbars,resizable,menubar');
and load a location on this window
win.document.location = "www.google.com";
but when try to make something in the new window it fails, i try this:
win.document.onload = function(){ alert(win.document.links[0].toString())};
can you give me some tip?
i make a new window
javascript:win=open('','Z6','width=400,height=200,scrollbars,resizable,menubar');
and load a location on this window
win.document.location = "www.google.com";
but when try to make something in the new window it fails, i try this:
win.document.onload = function(){ alert(win.document.links[0].toString())};
can you give me some tip?