Need help

Discussion in 'PHP' started by cskanna, Jan 7, 2007.

Thread Status:
Not open for further replies.
  1. #1
    Hi all,

    As we all know fire fox has an extension which will block google ads on web pages. Is there any way to show alternative ads if adsense ads are blocked? Is there any scripts available for that?

    Thanks in advance.
     
    cskanna, Jan 7, 2007 IP
  2. iceberg

    iceberg Notable Member

    Messages:
    1,751
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    200
    #2
    You can customize the adblock plus(firefox plugin) so that it can show other ads except adsense ads or vice versa.
     
    iceberg, Jan 7, 2007 IP
  3. scriptur

    scriptur Peon

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can use a browser detector script (search on google, there are many available) to determine the user's browser. Use an if else statement to display the ads similar to:

    if(browser_is_firefox){
    //display script for google ads
    }else{
    //display script for other ads
    }
     
    scriptur, Jan 7, 2007 IP
Thread Status:
Not open for further replies.