WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] remove "You're using a old and buggy browser" (19 posts)

  1. xionkid
    Member
    Posted 4 years ago #

    Hi!

    I'm getting an error on the bottom of my blogg that says
    "You're using a old and buggy browser. Switch to a normal browser or consider upgrading your Internet Explorer to the latest version"

    I'm using the latest version of Mozilla FireFox! How do I remove this message?

    I also think that the message has removed the footer on the page :-S

    If you want to take a look: http://www.videsignar.se

    Help me to remove the message "You're using a old and buggy browser. Switch to a normal browser or consider upgrading your Internet Explorer to the latest version" plz!

    otherwise! great theme.

  2. Peter Boosten
    Member
    Posted 4 years ago #

    It's some old and buggy javascript, but I couldn't find it.

    Please post footer.php (or if it doesn't exist index.php) in pastebin

    Peter

  3. xionkid
    Member
    Posted 4 years ago #

    there.. I've posted the complete content of footer.php at the page you linked to. thanks for any help..

    It don't seem to be that big of a problem to fix?

  4. digitalnature
    Member
    Posted 4 years ago #

    This messange should only display in IE 6 and lower. There are no bugs regarding this.

    On your site it shows in other browsers as well because you have errors in your post(s).

    Looking in your home page source code I see that you commented some of the html code but you didn't close the comment, so the javascript and the IE conditional comments at the end of the file that handle the browser checking will break...

    I won't tell you where that message is, fix your mark-up instead.

  5. xionkid
    Member
    Posted 4 years ago #

    wow.. thanks.. :-) I took away the comment and now it works.. thanks!
    you guys are great.

  6. Peter Boosten
    Member
    Posted 4 years ago #

    I won't tell you where that message is

    You're a pig *GRIN*

    Besides that: although I understand your reasons to display such a message (I assume I think I understand) I wonder whether it's up to you to 'bother' visitors of sites you do not own with these kind of messages.

    Lots of users, including myself, are bound to IE6, because that's still the standard in some corporate environments (we have 23000 users). And yes, I can already hear you say, ermm write to upgrade to IE8 or FireFox, but that's easier said than done (I'm fully aware of the security risks involved in not doing so, I'm responsible for Network Intelligence and Forensics).

    Just my 2cts.

    Peter

  7. digitalnature
    Member
    Posted 4 years ago #

    The reason this theme displays a small red strip with some text using javascript is to encourage people to update their browser so they can browse safely & take advantage of the newest web technologies. Why is that a bad thing?

    Nobody forces you to update if you don't want to, just like nobody forces you to use a free theme.

    Lots of users, including myself, are bound to IE6, because that's still the standard in some corporate environments

    That's ridiculous. Change the standard. It doesn't take you more than 3-4 clicks to install Firefox. Care to explain why is it so complicated on your side?

  8. Peter Boosten
    Member
    Posted 4 years ago #

    Care to explain why is it so complicated on your side?

    sure. Like corporate applications that stop to function after upgrading.

    I agree about the free part, but then again: you're offering a theme, not a moral.

    I hope btw you're not offended by me calling you a pig, I was merely referring to your avatar, I don't really think you are one. I admire your work for WordPress and such.

    Peter

  9. digitalnature
    Member
    Posted 4 years ago #

    it's just a friendly message that presents better alternatives to the visitor. it aims to help him, not teach him a moral lesson...

  10. Peter Boosten
    Member
    Posted 4 years ago #

    it's just a friendly message that presents better alternatives to the visitor.

    I know that's how you meant it to be. I'm just telling you how it is (or could be) perceived.

    EOD.

    Peter

  11. uninventiveheart
    Member
    Posted 4 years ago #

    Or another lesson: if your workplace prohibits browser use outside of IE 6 by system policy or 'kind suggestion', when most websites start move away from using courtesy banners (like this theme uses) and migrate to posting "Go Away" catch all pages for IE 6 users, it's the day you realize truly that your internet connection at work is completely useless compared to the one you get at home. To paraphrase Pearl Jam, "this behavior is not unique": AOL users were unable to browse popular sites and told to 'leave and get real internet' back in the day.

    My workplace doesn't take umbrage to this campaign against it's browser of choice, it's embracing it: in addition to our content filter limiting online video and audio websites, popular websites are taking themselves out of operation in this manner. This forces us the employees to limit our internet browsing during breaks and worktime to sites that do work, which decreases every day. I imagine my workplace finally leaving XP in 2012 when extended support ends and they pry it from their cold dead fingers.

    It's different for everyone involved. Some see it as a battlefront, others as an insult. Where I work, it's seen as the world itself doing their own IT work for them.

  12. Peter Boosten
    Member
    Posted 4 years ago #

    My point is that the user of this theme may be totally unaware that this "friendly warning" exists, and that he doesn't want to warn his visitors about this. What if a theme developer includes a warning against some religion, or worse a race?

    I guess a theme developer is free to do so, but should give its users the possibility to switch it off, or warn about it in the FAQ.

    Peter

  13. xionkid
    Member
    Posted 4 years ago #

    I have another question :-)
    what is the css-code for making the page title smaler? I mean the title that displays the name of the current page like "pictures", "news" "Home" and so on?

  14. crawlingroad
    Member
    Posted 4 years ago #

    I just started trying this theme today and my browser testing also pulled up this message. Many users are stuck in IE6 for a variety of reasons. I don't need my website lecturing them.

    I found the code where the problem lies. It's buried in his Javascript functions and is easily removed:

    Go to /themes/mystique/js

    Open jquery.mystique.js

    Search for "Firefox" and you'll find this:

    if (isIE6) {
    jQuery('#page').append("<div class='crap-browser-warning'>You're using a old and buggy browser. Switch to a normal browser or consider upgrading your Internet Explorer to the latest version</div>");
    }

    Comment it out or just delete it entirely:

    /* if (isIE6) {
    jQuery('#page').append("<div class='crap-browser-warning'>You're using a old and buggy browser. Switch to a normal browser or consider upgrading your Internet Explorer to the latest version</div>");
    }
    */

    Save and test the theme again with IE6 and the warning should be gone.

    There is also the same line in jquery.mystique.min.js which also references this function and the file can just be deleted entirely.

    This warning should be an option in the settings and not forced on users.

    If the author really wants this type of warning, they should make it less of a Firefox commercial. It should be more generic: "The browser you're using is too old to support all of our site features. Please consider upgrading to take full advantage of what we have to offer. Thanks!"

    Leave the browser war stuff out of it.

  15. lukat
    Member
    Posted 3 years ago #

    I tried to follow the steps from crawlingroad.
    But i couldn't find the message within jquery.mystique.js nor
    the file jquery.mystique.min.js.

    I do assume digitalnature has changed the implementation of the browser warning within the latest update of the theme.

    The Mystique Theme provided by digitalnature is great.
    It would be even greater, if it would allow to change, translate or switch off the implemented IE6 Browser warning.

  16. nutesla
    Member
    Posted 3 years ago #

    that code now is in -> /themes/mystique/js/init.js.php

  17. lukat
    Member
    Posted 3 years ago #

    hi nutesla,
    thank you for help.

  18. hornitosmonster
    Member
    Posted 3 years ago #

    It should be an option but I really have no issues with the message.
    I'm not going to take it out even though it is very easy to do so.

    You guys shouldn't be browsing websites at at work anyways :)

  19. msnfu
    Member
    Posted 3 years ago #

    我也遇到同样的问题,提示:“ You're using a old and buggy browser. Switch to a normal browser or consider upgrading your Internet Explorer to the latest version ”,请问怎么解决这个问题呢?非常感谢,小弟是做网站的,但是wordpress是新手,呵呵,我的网站名字是上海做网站公司易雅达。

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags