views:

225

answers:

2

I currently work in a position that i have to manage and access 1000s of pages for troubleshooting and new setup.... and im trying to figure out a way for firefox or chrome to setup ANYtime it sees for instance a a web based page for equipment like (CISCO, Linksys, Sonicwall, T1 controllers) from the manufacture in the Title bar or from the originating page place a set up 2 - 3 passwords to auto log on with. 1st one of course being the most common so it logs in faster..

I access about 14 different web based products with passwords tied to each of them and if someway i can grab info stating that hey this company is cisco/sonicwall/linksys/hp/ log on with these set of 3-5 credintials. Using possible If then statements....

is that hard i saw some script files but not sure if its difficult because some apps use the MSG BOX built in feature and some use the form submit method built on the page unless i can have 2 different grease monkey scripts at the same time....

thanks.

A: 

You're on the right track with greasemonkey. I would find an element on each of the pages which is unique to that page. The company name seems like an obvious one and use that inside of the script to select which password to use.

stimms
an element as in like tagging somewhere could it be as easy as possible Title barbut if not ill see whats easier to say what Grep out in a sense.im not too much of a coder at all is there like a base code i can some how find or get.thanks
is there some way to see who i can try and find to code something like this.
A: 

If those devices use standard form-based password entry, then there a bunch of Greasemonkey scripts, like this one, you can use to start. A Google search yields plenty more. ;-)

I'm not sure what you meant by "MSG BOX", but if you meant HTTP authentication (dialog looks like this: alt text

Then Greasemonkey can also help. See http://stackoverflow.com/questions/49158/, for example.

However, if memory serves, some of those boxes fire up a JRE and load that from the web page. The "MSG BOX" may be a dialog box from a Java App.
If that's so, then I don't know how Greasemonkey could see such a box (I suspect it can't).

That's the bad news. The good news is that most of those boxes have extensive automation interfaces. You just need to find a savvy tech support person to help you. ;-)

Brock Adams