PandaPassport.com – China Blog

Icon

Blogging from Behind the Great Wall

Hotels in Dalian China

Google Referrals: Detect readers using IE, guide them to install Firefox

I was just reading Ryan’s post over at DaobyDesign about how he guides his readers to upgrade to at least internet explorer 6:

My parameters were simple. If the person visiting the site had any browser other than Internet Explorer – they could come in. And to show I’m not a complete brute, I decided that those visiting with IE7, and IE6 could also come and play. Otherwise you get redirected to a page that informs the visitor that they might want to reconsider their choice of Web surfing app.

Personally, I’m not a big fan of any version of internet explorer, so I went a step further. Now if anyone lands on any of my single post pages, they see this alert just above the post headline:

Internet Explorer is BAD! Get Firefox with Google Toolbar, because unlike IE, Firefox loads the top of a webpage first so you can experience faster web-browsing.

The link is usually a firefox referral text link, though because this one was within the post, it might not always show, so I just linked to mozilla. Yes, I’m encouraging users to download, and I’ll get a small referral commission if they download it. But as this is a product I personally use and believe in, it’s one have have no hesitations recommending to readers. Readers who are using firefox already will not see this alert. Only IE users.

Here’s the code for how I made it, in case you’d like to use it one your site as well:

['HTTP_USER_AGENT'], 'MSIE') !== false)) return true; else return false; } ?> { ?> Internet Explorer is BAD! [INSERT FIREFOX TEXT LINK REFERRAL SCRIPT HERE] because unlike IE, Firefox loads the top of a webpage first so you can experience faster web-browsing.

For webmasters here in China, you might also recommend the Firefox Flickr addon, to help your readers get around the Flick block.

Category: Google Adsense, tools

Tagged:

2 Responses

  1. Actually, I encourage them to upgrade same as you (using a referral link as well), but I don’t hit all IE users, just people below IE 6.

    The problem is that a lot of proprietary browsers operate on the IE core as they’ve spun deals with Micro$oft – large telecoms and cable Internet guys are bad for this. Not to mention that big browser here in China (what the hell’s the name?) also operates on an IE core…

    PS: You should get this plugin so you can put code in your post and it looks pretty.

    PPS: Why is the firefox ad directly below where I’m typing this in Russian?

  2. admin says:

    re: russian firefox.

    That’s a damn good question.
    I’ll look into it.

Leave a Reply

RSS My China Tech blog on Inventorspot.com

  • Human-Powered Washing Machine February 9, 2010
    What do you get when you cross a treadmill with a washing machine? Give up? Something that looks a little like this, actually. A kid by the name of Zhang Jiayu from the northeastern Liaoning province thought that conventional washing machines wasted far too much electricity. He then had the bright idea of creating one that was powered by a man running on top […]
    Rick Martin
  • China Says Goodbye to Google With Cartoons February 9, 2010
    Since Google announced that they would no longer continue to censor in China, pretty much everybody has assumed that they won't be able to remain in the country. That may turn out to be the case. I'm not going to speculate too much on the issue, because there's way more than enough being said already. In the midst of all that headache, I do wa […]
    Rick Martin
  • China ice sculpture tragically made entirely from beer February 9, 2010
    The city of Harbin in northern China is widely known for it's freeze-your-snowballs-off temperatures and it's annual ice festival. Domestically, the city is also known for it's beer. Sadly, some wiseguy decided to combine the two to create a ginormous ice sculpture with nothing more than copious amounts of frozen beer. Such a waste... […]
    Rick Martin
  • China has system to detect vulgar Karaoke February 9, 2010
    Chinahush has a great write-up about a controversial new karaoke content management system being rolled out in Zhengzhou. The 'Black Box' (as it has been nicknamed) will flash red lights and alert the police when someone selects a vulgar song. Naturally, many netizens in China are voicing questions about such a system: […]
    Rick Martin
  • China's xpPhone to be upgraded to Win7Phone? February 9, 2010
    The Chinese xpPhone was itself thought to be a rumor until engadget China reported on it last month. Sadly, it looks like this monstrosity does indeed exist. And what's more, it looks like it might soon be upgrading to Windows 7. Nevermind that the real Windows 7 Mobile won't be coming out until late next year. As usual, China has us covered with t […]
    Rick Martin
  • Best Chinese Knockoff Ever? Sony VAIC TT February 9, 2010
    There's something ingenius about taking an 'O' and making it a 'C.'  It's so subtle. So clever. It boggles the mind with possibilities: Orec cookies anyone? Maybe a little Cvaltine to wash it down?  Ok, maybe not. But that's generally the idea behind this 'Viac' 'Vaic,' a shanzhai version of the tiny Son […]
    Rick Martin
  • More Chinese Farmer Innovations: Baby Buddha Pears! February 9, 2010
    If you're a regular reader of this blog, you're likely familiar with the unusual phenomenon of inventive Chinese farmers. For some reason, these rural inventors are grabbing more headlines than most Chinese tech companies. Well, here's another distinguished farmer to follow in that tradition. This particular pear producer isn't going to l […]
    Rick Martin
  • Replica Tian'anmen Gate Crafted from Human Hair February 9, 2010
    What's hairy, forbidden, and red all over?  Why, it's this replica Tian'anmen Gate built entirely out of leftover hair clippings! (Sorry, I hope I didn't disappoint any Anne of Green Gables fanboys out there.) […]
    Rick Martin
  • 'Phoney' Marriage Proposal in China February 9, 2010
    The latest viral video to come out of China features a young man's unique marriage proposal, created by making a sort of LED screen out of hundreds of cell phones. The display was then programmed to display a surprise romantic message to the unsuspecting girlfriend. Check out the video and see for yourself: […]
    Rick Martin
  • Chinese Netizen Arrested, Sends SOS on Twitter February 9, 2010
    Many of you are likely familiar with the case of the American student from Berkley back in April of 2008 who when he was taken into custody by Egyptian police managed to send out a short tweet via SMS saying "Arrested." Subsequently his embassy and the press were notified and he was eventually released (see CNN story) thanks to his twitter distress […]
    Rick Martin



Ads: 仙台 専門学校 ベビーインテリア 美容整形 トランクルーム ケアベア ピアノ買取 かつら 電話占い 電子タバコ 杉並区 不動産 アメリカ 留学 翻訳会社 電話占い 外断熱 恵比寿 ネイルサロン