Return to Snippet

Revision: 321
at July 9, 2006 14:07 by rolandog

Initial Code
//KHTML engine?
var is_khtml = (navigator.vendor == 'KDE')?true:false;
var is_konq = (navigator.vendor == 'KDE')||(document.childNodes)&&(!document.all)&&(!navigator.taintEnabled)?true:false;
//KHTML or Konqueror?
var is_k = (is_khtml || is_konq);

Initial URL

Initial Description
This is a way to determine if the browser uses the KHTML engine or if it is the Konqueror Browser.

Initial Title
Konqueror Browser OR KHTML Engine Detection

Initial Tags

Initial Language