| |||||||
| Top Tip : Click here to Boost Your PC & Chrome Browsing Speed |
![]() |
| | Thread Tools | Display Modes |
|
#1
| |||
| |||
| 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 |
|
#2
| ||||
| ||||
| 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 |
![]() |
| 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 |