Detect if Chrome Frame BHO is enabled -


I have the following code to see if CF BHO is enabled, but unfortunately it is not working " Automation server fails to create obz "

  var activexGoogleFrameBho = new ActiveXObject ('ChromeFrame.Bho'); If (activexGoogleFrameBho) {...}   

My user agents and page headers are as follows:

  Mozilla / 4.0 (compatible; msie 8.0; windows Nt 6.1; wow64; trident / 4.0; chromeframe / 32.0.1700.107; slcc2; .net clr 2.0.50727; .net4.0c; .net4.0e) & lt; Meta http-equiv = 'X-UA-Compatible' content = 'IE = Edge, Chrome = IE8' / & gt;   

Any ideas?

Thank you,

I'm not sure if you find the helpful object However, to see if the current page is loaded in chrome-frame, you can see that window.externalHost is present.



Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -