How to remove or automatically accept the Internet explorer confirmation box

M

Mark

Hi all,

Im written a small javascript program. Once it finishs I want to close
the internet explorer page. I have used window.close(); when this runs
it pops up with a Internet Explorer Dialog box, saying if I want to
close this page.

Is there a way to automate this process?? I also have the problem with
var fso = new ActiveXObject('Scripting.FileSystemObject');

Saying that I have to accept the Active X.


Thanks Mark
 
L

Lee

Mark said:
Hi all,

Im written a small javascript program. Once it finishs I want to close
the internet explorer page. I have used window.close(); when this runs
it pops up with a Internet Explorer Dialog box, saying if I want to
close this page.

Is there a way to automate this process?? I also have the problem with
var fso = new ActiveXObject('Scripting.FileSystemObject');

Saying that I have to accept the Active X.

These are security features designed to prevent you from automating
things that the user might not like. It would be profoundly foolish
for a browser to allow you to automate around them.
 
R

Robert

Is there a way to automate this process?? I also have the problem with
var fso = new ActiveXObject('Scripting.FileSystemObject');

If this file is on your machine, you can change the filetype to hta.
You can change your security settings.

Robert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top