WordPress.org

Ready to get started?Download WordPress

Forums

IE6 Upgrade Option
How to remove download links to IE8? (5 posts)

  1. thatwastaxing
    Member
    Posted 3 years ago #

    Thanks for the plugin!

    How do I remove the download link to IE8 all together? I prefer that my users use any browser other than IE8.

    http://wordpress.org/extend/plugins/ie6-upgrade-option/

  2. doc4
    Member
    Plugin Author

    Posted 3 years ago #

    thatwastaxing,

    You will need to open the warning.js and remove the following from line 29:
    ie8: "http://www.microsoft.com/windows/internet-explorer/worldwide-sites.aspx"

    Try that and let me know if you need additional assistance.

  3. thatwastaxing
    Member
    Posted 3 years ago #

    Hi,

    The image still appears but the download link changes to http://localhost/mysite/undefined

  4. doc4
    Member
    Plugin Author

    Posted 3 years ago #

    thatwastaxing,

    Remove the following from warning.js. This is reference to the latest version 2.5:

    Line 52: ie8: 2
    Line 62: ie8: "icons/32/ie9.gif"
    Line 198: b.is_ie8 = function () { var a = false; if (/msie (\d+\.\d+);/.test(navigator.userAgent.toLowerCase())) if (new Number(RegExp.$1) == 8) a = true; return a };
    Line 253: b.is_ie8() ? b.browser("IE", b.rate.ie8, b.icons.ie8, g.ie.url, g.ie.version, b.is_ie8()) :

    Let me know if this works for you.

  5. Doomsan
    Member
    Posted 3 years ago #

    I´m trying to do the same thing but no luck, any new suggestions?.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic