Is there any way to automatically fill in a textbox on a 3rd party website via code on the referring page?
My situation is thus: When a user clicks the pager number in our online phone directory, I’ve been asked to have that number filled automatically on the third party’s site. They have no API.
Certainly JavaScript can fill in the Textbox, but can I somehow do that from the referring ‘href’ tag?
You’re essentially asking for a Cross site scripting vulnerability on the third party site. So no, you cannot fill the forms of third party pages unless they have a vulnerability that you can abuse, or if the page is originally designed to fill the form using parameters from the url.