Skip to content

Instantly share code, notes, and snippets.

@czj
Created August 16, 2011 14:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save czj/1149177 to your computer and use it in GitHub Desktop.
Save czj/1149177 to your computer and use it in GitHub Desktop.
BNP Paribas almost-automatic login
var url = "https://www.secure.bnpparibas.net/banque/portail/particulier/HomeConnexion?type=homeconnex&identifiant=secure_bnpparibas_net_20021206152735"
if (window.location != url)
{
window.location = url;
}
else
{
// Add your login here
document.logincanalnet.ch1.value = "";
// Add your password here it you want it display as an hint in the password box, but you'll have to type anyway on their remote boxes
document.logincanalnetbis.ch2.value = "";
document.logincanalnetbis.ch2.type = "text";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment