• One thing I’ve noticed a fair bit around the web is all them firefox buttons. And now WordPress is supporting Browse Happy, we’ll see a whole lot of Browse Happy buttons around. All good.

    But how about not selling to the converted? If the target market is Internet Explorer users, how about only showing the “Get Firefox” or “Browse Happy” buttons to them, since the ones using a non-IE browser have already been converted and are ‘browsing happily’? =)

    And it’s possible – using IE’s proprietary conditional statements, we can make it so only IE users see the message, and those converted can live free. The only thing I’m not sure about is the XHTML validity of the statements, but since they’re technically comments it should ignore it.

    A rudimentary guide to the tags can be found here: https://www.javascriptkit.com/howto/cc2.shtml (it’s not actually javascript, that’s just a google hit).

    Basically, it would be formatted something like:

    <!--if [gte IE 5]
    // put Browse Happy/Get Firefox image or text here
    -->

    Thoughts?

Viewing 15 replies - 16 through 30 (of 37 total)
  • I absolutely agree with Karel. On my Windows system the FF browser works beautifully, and I am happy. I find it so valuable to plug for it, that I’m happy to see as many FF buttons popping up.

    Now, this is not a flame thing and MSIE is a good piece of work too. Some day maybe MS is coming to their senses and beat FF. I do remember the time when Netscape was forming the web experience and when IE came along, the Communicator was far ahead for a few years. Then it nearly died and MSIE took the lead.

    It’s no longer the case and what we must hope for are a few really standards compliant browsers, requiring no forked Javascript code and no workarounds for lousy XHTML or CSS adherence.

    To remove.

    File: wp-admin/admin-functions.php
    Lines: 1589 – 1600
    Remove this
    function browse_happy() {
    $getit = __('WordPress recommends a better browser');
    echo '
    <p id="bh" style="text-align: center;"><a href="https://browsehappy.com/" title="'.$getit.'"><img src="images/browse-happy.gif" alt="Browse Happy" /></a>

    ';
    }
    if (strstr($_SERVER['HTTP_USER_AGENT'], 'MSIE'))
    add_action('admin_footer', 'browse_happy');

    function documentation_link($for) {
    return;
    }

    That removes the ‘Browse Happy’ logo.

    (Lines numbers refer to WP2.0)

    I can’t stand it another minute. Browse Happy doesn’t just mean Firefox. What gave anyone that idea? It means a standards compliant browser, such as Mozilla, Firefox, Opera or Safari.

    https://browsehappy.com/browsers/

    Also, having that button isn’t just an advertisement. It’s a statement of identity; saying that you support it. It’s like carrying the “Vote Kerry” signs at a Democratic convention. You do it to show you’re proud and excited to be around like-minded people, not just to convert others. Christians wear crosses partly to identify themselves to other Christians. Same goes for Firefox ads, in my mind.

    Tub-thumping aside, anyone who wants to remove it has only to follow podz’ very clear instructions above.

    Personally, I prefer to post my FF pref with a button of my own on my sites. Putting a FF or BH button in the dashboard doesn’t get it for me. But then, the first thing I do with any install is whack the dashboard to a bare nothing anyway…. or install wp-dash….

    Simply, if you look at the code podz listed above, look for this one line:

    add_action('admin_footer', 'browse_happy');

    and comment it out:

    // add_action('admin_footer', 'browse_happy');

    That’ll do.

    Before anyone else comments here please read: https://www.blogs.pixel2life.com/2005/12/19/too-cool-for-ie-or-too-stupid-get-over-it/trackback/ this is the most logical thought on this whole stupid war. Personally I use Avant Browser, a shell for IE. I do sometimes (once a month) open FF and see what you ‘rebels’ see my site like (it doesn’t look very good). I do try to code for both, however FF does have its downfalls, like widths, IE understands that my page is the size of my screen, FF doesn’t and thinks it is 6 pages wide!

    $getit = __('WordPress recommends a better browser');
    Does WP actually recommend a better browser then FF when i see this button in FF?

    What no comments from anyone!

    Why comment on a blatant antagonism?

    Oh yes marzar00! thanks for the pointer! It’s an excellent article and I’ll most certainly recommend it anywhere a war over browsers pops up.

    @ petit,

    It has finished at lot of wars i have seen around the place.

    @ vkaryl,

    its not antagonism, its just an effort to stop this stupid ‘Get Firefox’ drive that is really annoying many web users. I was once a regular visitor to a major site that i was very keen of, however, now that they don’t support IE i don’t even remember the URL! This is a stupid war and if it doesn’t stop we will see many popular sites crumble due to lack of IE support (remember it is only the Webbies who really have upgraded to FF).

    What i am trying to say is stop single browser coding and at least put an effort in to code for all of the browsers.

    Marzar

    *rolls eyes* marzar00: I have been coding all-browser compliant sites for years. I make quite decent money as a designer, making sure I produce sites which view as intended cross-browser. Your “article” is pointed at sites which specify for one browser. There’s really not much of that around where I hang out…. so I consider it an antagonism.

    Most people on this forum don’t specifically code for any given browser. Your whole post was an antagonism – perhaps from the other direction, but an antagonism nonetheless.

    Let’s try to keep in mind the (topic of this thread) “Browse Happy” graphic/link that appears to IE users in the footer of WP admin pages is just that, and does not in any way limit the ability of anyone using IE to work with WordPress.

    @ vkaryl,

    Thats fair enough.

    I do occasionally use FF and when i do, to quote a post before:

    $getit = __('WordPress recommends a better browser');

    Does WP actually recommend a better browser then FF when i see this button in FF?

    No idea, but would be fairly amusing if so, hmmm? (The reason I have no idea is because I NEVER see the “normal” dashboard crap.)

Viewing 15 replies - 16 through 30 (of 37 total)
  • The topic ‘Browse Happy: But don’t sell to the converted’ is closed to new replies.