views:

25

answers:

1

Can you use Html DOM in firefox plug in to...

1) write/Auto fill in a form?

2) Read values in label? Textboxes? And use them in your program?

A: 

In Firefox, the current document is accessible in JavaScript by content.document and from there you can do anything you would do in JavaScript on the page itself.

MatrixFrog
Only via JavaScript?
K001
JavaScript is typically what is used for Firefox extensions (as well as XUL and CSS of course). If you want to use Java instead, you can do that, although I'm not sure if there's any advantage to doing so in this case. See https://developer.mozilla.org/en/Java_in_Firefox_Extensions
MatrixFrog