0
I currently have a jscript that runs a PHP script on a server for me. But I want to be at least somewhat secure so I setup a login. Now if I use the regular user:password@domain system it won't work; IE decided it was a security issue. And if I let IE remember the password, it pops up a security message confirming my login every time (which kills the point of the button).
So I need a way to make the security message go away.
I could lower security settings, which I am fine with, but nothing seems to make it go away. Maybe there's some registry setting to change?
Find a fix for jscript that will let me use a password in the url. There used to be a regedit that worked for older systems which allowed IE to use url passwords (not working on my 64bit windows7 setup) though I doubt that'd have helped jscript anyways (since it outright crashes).
Use an app other than IE. In which case I'm not sure how to go about it. I want it to be responsive and invisible so IE was a good choice. It is near instant.
Use XMLHttpRequest instead of IE directly? May even be faster but I've no idea if it'd help or just have the same error.
Use a completely different approach. Maybe some app that can script website browsing.
Here's my jscript:
var args = {};
var objIEA = new ActiveXObject("InternetExplorer.Application");
if( WScript.Arguments.Item(0) == "pause" ){
objIEA.navigate("http://domain/index.html?pause");
}
if( WScript.Arguments.Item(0) == "next" ){
objIEA.navigate("http://domain/index.html?next");
}
objIEA.visible = false;
while(objIEA.readyState != 4) {}
objIEA.quit();
unrelated, but:
switch/case
would be much better than manyif
's. – user1686 – 2010-04-24T16:48:02.487