I am not sure if this is possible, partly because I have no clue what the terminology would be...
I want to create an extension that, among other things, will have a feature where, when the user clicks on the status bar icon a small window will slide out and inside that window will be a website login page. They would then login as normal, of course, and any cookies or authentications would be handled as usual.
I'm not sure what to Google to find the right overlay/chrome functions/namespaces. Also, I don't want to AJAX the source of the page, I want the actual page to load, straight from the server (for security reasons) BUT, I also want to intercept what the user see's ON the page (sort of greasemonkey style, I guess) so that only the form fields and head show up, not any of the "did you forget your password" and what not info. ALSO (and I'm sure if any of the above is possible, this should be as well), I want to intercept the server's response so that, after it does what it needs to do (which I don't want to mess with and probably can't without getting into trouble) the user sees something like "You did it!" in that same slide out window, rather than the server's usual output. (The server actually outputs a javascript alert which won't blend well in the extension and then redirects the user to a home page which I also don't want. But I'm pretty confident that if I can learn how to intercept the output I can just kill those bits.)
So I guess the question(s) are: Is there a way to :
- Have a NON-MENU window slide out onclick,
- Load a live web page in that window, and
- Mod the live page's output while still having it be on the site?
The login page is encrypted and the login/password is considered pretty top secret, so I have to respect security as much as possible and not try much simpler techniques like ajax or cookie-moding.
thanks!