Go Back   Google Chrome Forums > Google Chrome > Chrome Plugins > Plugins Development


http://chromeplugins.org/frwrdicon.jpg
Top Tip : Click here to Boost Your PC & Chrome Browsing Speed
Reply
 
Thread Tools Display Modes
  #1  
Old 02-06-2010, 11:24 AM
Junior Member
 
Join Date: Feb 2010
Posts: 1
Default Chrome Extension function

Hi all,

How do I go about writting a google chrome extension that fills in a textbox with information and submit it via the "Submit" button next to the textbox. however I only want the extension to do this and not the user. also the information to fill in needs to come in as a parameter when a java application runs/invokes google chrome browser.

Rough steps:
1. java application loads google chrome browser with a certain URL and gives it some text(for the textbox on the webpage)
2. google chrome extension loads when google chrome browser loads
3. google chrome extension fills in textbox with text been given by the Java application
4. google chrome extension clicks on the "Submit" button (or presses the "Enter" key)

Appreciate any help.

Cheers,

B
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-10-2010, 07:16 PM
Waha's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Oregon
Posts: 597
Default

For 4: http://www.javascript-coder.com/java...m-submit.phtml
If you need help with 3 I'd suggest reading through a basic JavaScript tutorial, editing input fields is pretty basic.
If you wanna know the command line for loading a url with Chrome, the basic one is just:
chrome -- "http://yoururl.com"
If you need to pass any other flags they go before the --
__________________
~ Projects ~
Specialized: Carapass Auction Watcher
Libraries: bliplib
Tools: manifest syntax highlighting & snippits
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Could Invoke function of NPAPI return multiple outputs? wadewu Plugins Development 0 12-29-2009 05:41 AM
How to invoke function in chrome extensions rohit Plugins Development 7 12-11-2009 05:33 AM




Chrome Central - Chrome Talk - Chrome Tips and Tricks - Chrome Plugins - Chrome Themes - Chrome Tools - Bugs and Vulnerabilities - Chrome Tech - General Chat


All times are GMT. The time now is 11:39 PM.


Powered by vBulletin® Version 3.7.4 PL1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Google Chrome and Google™ is a Trademark of Google Inc
This site chromeplugins.org is not affiliated with or sponsored by Google Inc.
Thanks: Taree SEO Forum and John