Welcome guest, is this your first visit? Create Account now to join.
Results 1 to 2 of 2

This is a discussion on Chrome Extension function within the Plugins Development section, part of the Chrome Plugins category: Hi all, How do I go about writting a google chrome extension that fills in a textbox with information and ...

  1. #1
    Bhav is offline Junior Member
    Join Date
    Feb 2010

    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.



  2. #2
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009


    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, Kongregate Chat
    Libraries: bliplib
    Tools: manifest syntax highlighting & snippits
    ~ Happy to make extensions for pay too ;D ~
    Portfolio: Search and Share

Similar Threads

  1. Could Invoke function of NPAPI return multiple outputs?
    By wadewu in forum Plugins Development
    Replies: 0
    Last Post: 12-29-2009, 06:41 AM
  2. How to invoke function in chrome extensions
    By rohit in forum Plugins Development
    Replies: 7
    Last Post: 12-11-2009, 06:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts