Wondering if this is possible, I have a java applet which I am embedding on my own version of website login pages (using wordpress currently) and using a Java applet to allow for login with a smartcard token which has the login details stored on it.
I was wondering if it was possible to use a javascript bookmarklet or something similar to load this Java Applet and add this functionality to pages which I do not have control of?
Thanks.
Edit: Currently I use the following code on pages which I can edit the html/php on, but I’d like to add it to other sites where I cannot do this with a javascript bookmarklet if possible. Pass happens to be the name of the function run by the page when the submit button is pressed.
<script language="JavaScript"><!--
function pass()
{
document.tstapp.put();
document.loginform.user_login.value = document.tstapp.get();
document.loginform.user_pass.value = document.tstapp.get2();
}
//-->
</script>
<APPLET name=tstapp code=LoginCard21.class archive="Cardv2.jar" WIDTH=100 HEIGHT=30>
</APPLET>
The crux of this bookmarklet; that I think you didn’t know about, is
document.createElement.