____  _ ____ ____ ______ ____  
|___ \| |___ \___ \____  |___ \ 
  __) | | __) |__) |  / /  __) |
 |__ <| ||__ <|__ <  / /  |__ < 
 ___) | |___) |__) |/ /   ___) |
|____/|_|____/____//_/   |____/ 
      

i pwn all thats all u need to know.

Wednesday, July 25, 2007

//activate ActiveX

How to get rid of that anoying activeX controller ...

Usage embed under these tags on your page:

[head]
[script language="JScript" type="text/jscript" src="ax_hdr.js"][/script]

[/html]
[script language="JScript" type="text/jscript" src="ax_ftr.js"][/script]

/*
activateActiveX - header
---------------
*/

//trap onload event
window.onload = function () {
//Determine browser, we only need this for Internet Explorer
if (navigator.appName == "Microsoft Internet Explorer") {

//Array of elements to be replaced
var arrElements = new Array(3);
arrElements[0] = "object";
arrElements[1] = "embed";
arrElements[2] = "applet";


//Loop over element types
for (n = 0; n < replaceobj =" document.getElementsByTagName(arrElements[n]);" i =" 0;" parentobj =" replaceObj[i].parentNode;" newhtml =" parentObj.innerHTML;" innerhtml =" newHTML;" appname ="=" arrelements =" new" n =" 0;" replaceobj =" document.getElementsByTagName(arrElements[n]);" i =" 0;" parentobj =" replaceObj[i].parentNode;" newhtml =" parentObj.innerHTML;" innerhtml =" newHTML;" style="font-weight: bold;">Download
sample code (http://3l3373.com/dl/tutorials/activeX/ax_.rar)

Labels: , , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home