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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -