Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

javascript bookmarklets

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?

Name: Anonymous 2010-11-10 13:26

i make a new window
can you give me some tip? [/o]

Learn English, perhaps?

Name: Anonymous 2010-11-10 13:28

>>2
l2quote,
perhaps?

Name: Anonymous 2010-11-10 13:32

>>3
I'm working on it,
even as we type.

Name: Anonymous 2010-11-10 13:41

>>3
I hope
you
are
happy
now

Name: Anonymous 2010-11-10 13:48

>>2
thank you bastard
----

i do this way:

function a(){
fwrd = win.document.links[0];
win.document.location = fwrd;
};
win.document.onload = a();

how can i do something like run a() function everytime win change location?

Name: Anonymous 2010-11-10 15:20

>>6
thank you bastard

do your own homework, greeny.

Name: Anonymous 2010-11-10 20:37

thats no homework
i dont need this
im only trying doing things with javascript

Name: Anonymous 2010-11-10 21:28

>>7
You're now remembering Mr. Vile. Manually.

Name: Anonymous 2010-11-11 3:01

>>8
Try ``doing things'' with English first.

Name: Anonymous 2011-01-31 20:53

<-- check em dubz

Don't change these.
Name: Email:
Entire Thread Thread List