Show Firefox Referral Button to Non Firefox users Only
It is absolutely foolish thing to show Firefox referral button to Firefox user. So I wonderer whether it is possible to use Firefox referral button to show only non-Firefox users. Then came across LiewCF, which gave me the solution of this
Well method is very simple and can be used by non-techies publisher also. Use the following simple php code to show the Firefox button to non-Firefox users only.
Refer this for method
PHP:
-
<?php if ( !strpos($_SERVER['HTTP_USER_AGENT'], 'Gecko') ) { ?>
-
<!-- PASTE YOUR GOOGLE ADSENSE FIREFOX REFERRAL CODE HERE -->
-
<?php } ?>
Isn't it simple?
Found via LiewCF
0 comments:
Post a Comment