test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • darkidas Friend
    #190247

    Hi there,
    Congratulations for your awesome framework! I have one question though :

    How can i detect a specific browser (ie7) so that when it is used i will load a custom “browser not supported” page?

    Thank you in advance.

    Ninja Lead Moderator
    #504599

    You can find code browser detect on this file

    Open plugins/system/t3/base/bootstrap/js/jquery.js file

    Find this code


    browserMatch = jQuery.uaMatch( userAgent );
    if ( browserMatch.browser ) {
    jQuery.browser[ browserMatch.browser ] = true;
    jQuery.browser.version = browserMatch.version;
    }

    Here are some typical results:

    Internet Explorer: 6.0, 7.0, 8.0
    Mozilla/Firefox/Flock/Camino: 1.7.12, 1.8.1.3, 1.9
    Opera: 10.06, 11.01
    Safari/Webkit: 312.8, 418.9

    darkidas Friend
    #504647

    Hi ,
    Thank you for your answer.I found the script, included it and managed to have a condition for if the browser is ie7 or not. But how do i do the redirect after? I tried jquery location and href but then i enter a loop which i cant get out of! Any help would be appreciated. Thanks in advance

    Ninja Lead Moderator
    #504669


    jQuery.browser.version

    You need to check parameter when you run it with IE browser.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Ninja Lead 11 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum