Grabbing current URL and setting it to Textbox in the HTML frame using Google Chrome extension.

Posted by devdreamers on Stack Overflow See other posts from Stack Overflow or by devdreamers
Published on 2010-06-13T01:06:17Z Indexed on 2010/06/13 1:12 UTC
Read the original article Hit count: 337

Hi all,

Question says it all, dividing it into two parts:

1- Grabbing url when chrome extension is clicked, of current tab(on focus) - CHROME SPECIFIC.

2- Setting the same in a Textbox value, in one of frames of web page.Which means, the textbox resides in a.html where on webpage it's <frame src="a.html"> -CHROME/JAVASCRIPT/HTML specific.

Please help, with either/both parts. Thanks so much.Appreciate it.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html