File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes disabling IE security pop up window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "disabling IE security pop up window" Watch "disabling IE security pop up window" New topic
Author

disabling IE security pop up window

jazy smith
Ranch Hand

Joined: Nov 18, 2009
Posts: 101
Hi all,
I am fetching webpage from secure server ( https ) which has print button on it. Clicking on print button would fire ActiveX control for printing. Thing is, when I click on print button, I get IE security popup saying "page contains secure and non secure items". I know why is it coming up because ActiveX control is running on HTTP ( non secure ) server (that is my local machine). Now, this is the code snippet. The report object is ActiveX object. As soon as ActiveX control executes and gives the result back to javascript, I get that pop up window.

Is there any way I can hide or disable that popup through programming ? disabling from IE option, I know. But i want to do that through javascript.

Any idea ?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18166
    
    8

You want to write some Javascript which will automatically disable a browser security feature?

Think about that for a minute. Don't just think about yourself, either. Think about what would happen if that were possible. Every malware writer would just use that Javascript feature to disable the security feature. And then the feature would be useless.

jazy smith
Ranch Hand

Joined: Nov 18, 2009
Posts: 101
Got it buddy.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: disabling IE security pop up window
 
Similar Threads
Tough Task
Popup window from action class
Check file size with Javascript before uploading
window.open parent and Child
Automatic Printing