Dynamic Anchor Target

Discussion in 'JavaScript' started by profs77, Dec 12, 2005.

  1. #1
    Is it possible to change the target for a google adsense ad using javascript? I tried doing this but it didn't work for some reason. I'm trying to get the links to open up in a different window or frame, or is that against the Terms of service?
     
    profs77, Dec 12, 2005 IP
  2. codeteacher

    codeteacher Peon

    Messages:
    117
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think this is really against the TOS... But you could email Google and ask.
     
    codeteacher, Dec 12, 2005 IP
  3. mjewel

    mjewel Prominent Member

    Messages:
    6,693
    Likes Received:
    514
    Best Answers:
    0
    Trophy Points:
    360
    #3
    It's against the TOS to have links open in another window - or to modify the code in any way.
     
    mjewel, Dec 12, 2005 IP
  4. profs77

    profs77 Well-Known Member

    Messages:
    441
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    118
    #4
    What if I wanted to open it up in another frame. Also i'm not actually modifying the code since javascript is dynamically updating the target.
     
    profs77, Dec 13, 2005 IP