SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: ActiveX in IE

Hybrid View

  1. #1
    SitePoint Evangelist jor133d's Avatar
    Join Date
    Jul 2003
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ActiveX in IE

    Is there a script that will stop IE from blocking javascript? It brings up the activeX. I know there is a way to fix this with flash objects but how about javascript items?

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Probably not, because if the user has the settings so that you get an "Active scripting" warning, it would be pretty silly to allow it to be bypassed with what it's blocking (javascript). Also, consider that the user might actually want it this way, and you should never mess with a user's personal preferences.

  3. #3
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,837
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    There is no way to get IE to enable JavaScript as IE doesn't have that ability built in. Instead of allowing for JavaScript, IE instead allows for vbScript and/or jScript (which are the two languages turned on and off by the Active Scripting option). Fortunately jScript can handle most of the same things JavaScript can and for where it can't you can use either feature sensing or conditional comments in the jScript to select whether to run the JavaScript or jScript equivalent code. There are of course lots of things that can be done with jScript and/or vbScript that can't be done with JavaScript (and which are intended for use only on intranets).

    The other thing to consider is that activeX is the most buggy security hole ridden piece of software that has ever been created, IE7 now disables most of it by default to plug many of the security holes that it creates but there is no way to plug those hundreds of security holes in IE6 without disabling activeX completely. Doing so then pops up alerts on almost every web page unless you also turn off Active Scripting and so any sensible IE6 user will have Active Scripting disabled simply to get rid of all the annoying activeX error messages..
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •