I'm trying to login users to websites automatically, given their username and password. To do this I'm using a Chrome extension, where every page would load my content script that will try and find out where the username and password boxes are and then submit.
The content script loads jQuery and to find boxes I do something along these lines:
$("input[type=password]") OR $(".password") OR $("#password")
This usually works but on sites like Facebook or Gmail it fails (even though it shouldn't). I suspect this is because they are already using some internal version of jQuery that doesn't do exactly the same.
How do I fix this? Maybe changing the dollar sign of the jQuery I'm loading to something else would fix this since then it won't conflict with the internal version of jQuery. Is that possible?