• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

disabling IE security pop up window

 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Marshal
Posts: 28295
95
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Got it buddy.

Thanks
 
A "dutch baby" is not a baby. But this tiny ad is baby sized:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic