Tag Archives: html

Remove “click to activate and use this control”

This hack or tutorial it is for web admins that what to remove the “click to activate and use this control” that appears in IE7 or above.

Steps:

  1. Goto your last <object> and write this below
    <script type="text/javascript" src="NoActiveAndUseThisControl-IE7.js"></script>
  2. Now, open notepad and copy and paste this code into notepad.
    theObjects = document.getElementsByTagName("object");
    for (var i = 0; i < theObjects.length; i++) {
    theObjects[i].outerHTML = theObjects[i].outerHTML;
    }
  3. Save As this file and name it as “NoActiveAndUseThisControl-IE7.js
  4. Now upload them into your server and you should be good to go ;).