Using Bookmarklet to open and pass values from Parent and Child Window
Posted
by kunalsawlani
on Stack Overflow
See other posts from Stack Overflow
or by kunalsawlani
Published on 2010-04-13T23:29:45Z
Indexed on
2010/04/13
23:33 UTC
Read the original article
Hit count: 417
JavaScript
|bookmarklet
Hi,
Is there a way to open a window from the current page using a javascript bookmarklet, and once the the child window has finished loading, setting the value of one of the elements in its DOM to some value from the current page, say for example the currently selected text.
I know that this can be done in plane javascript, and also, by appending the value to the URL, and reading it from the web service opened in the new child window. I want to know if there is any other way, as the appending URL method does not let you send text more than two thousand odd characters long.
Appreciate any help I can get!
© Stack Overflow or respective owner