Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

disabling IE security pop up window

Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
Posts: 25795
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it buddy.

Be reasonable. You can't destroy everything. Where would you sit? How would you read a tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic