public boolean detectWebkit ( ) { if ( ( this . initCompleted == true ) || ( this . isWebkit == true ) ) return this . isWebkit ; if ( userAgent . indexOf ( engineWebKit ) != - 1 ) { return true ; } return false ; }
Detects if the current browser is based on WebKit .