diff --git a/core/main/client/browser.js b/core/main/client/browser.js index 4efc5d63c..2d32c686e 100644 --- a/core/main/client/browser.js +++ b/core/main/client/browser.js @@ -19,6 +19,14 @@ beef.browser = { return navigator.userAgent; }, + /** + * Returns true if Avant Browser. + * @example: beef.browser.isA() + */ + isA:function () { + return window.navigator.userAgent.match(/Avant TriCore/) != null; + }, + /** * Returns true if IE6. * @example: beef.browser.isIE6()