dcsimg

Browser gives a flash plug-in warning when loading the Webtrends JavaScript tag

Products

Webtrends Analytics 8.x
Webtrends Analytics 9.x

Cause

When viewing a web page that includes the Webtrends JavaScript tag, the browser may prompt to run or install the Adobe Flash plug-in.

Resolution

This behavior is as designed. As part of our data collection technology, the Webtrends JavaScript tag attempts to create an instance of Flash, and then requests the version.

This can be disabled by modifying the Webtrends javascript tag. Remove the following section from the webtrends.js file and it will then no longer perform the check for Flash. Note that removing this section disables the ability to track and report on Flash. Consult a senior technical support engineer before providing this information to a customer.

WT.fv=(function(){
var i,flash;
if (window.ActiveXObject){
for(i=10;i>0;i–){
try{
flash=new ActiveXObject(“ShockwaveFlash.ShockwaveFlash.”+i);
return i+”.0″;
}
catch(e){
}
}
}
else if (navigator.plugins&&navigator.plugins.length){
for (i=0;i
if (navigator.plugins[i].name.indexOf(‘Shockwave Flash’)!=-1){
return navigator.plugins[i].description.split(” “)[2];
}
}
}
return “Not enabled”;
})();