How Do I Turn Off a Redirection to Another Website (on ad network banner's ) ?

Discussion in 'Programming' started by nikipink, Nov 19, 2012.

  1. #1
    i'm using one ad network on my website.

    their banner ads, Redirect my website to Another Websites ...!

    how can i disable their redirection ? :confused:

    I do not want to delete this ads ,I want disable their redirection by some codes ...



    this code Redirect my website to Another Websites :

    
    <script type="text/javascript"><!--
    document.write('<s'+'cript type="text/javascript" src="http://www.advantageglobalmarketing.com/show.php?z=178&pl=1545&j=1&code='+new Date().getTime()+'"></s'+'cript>'); 
    // --></script>
    <noscript>
    <iframe src="http://www.advantageglobalmarketing.com/show.php?z=178&pl=1545" width="125" height="125" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
    </noscript>
    Code (markup):

    thanks
     
    nikipink, Nov 19, 2012 IP
  2. wrekoniz3

    wrekoniz3 Well-Known Member

    Messages:
    2,232
    Likes Received:
    100
    Best Answers:
    0
    Trophy Points:
    190
    #2
    Thats their 3d Party code being run. They call it a frame breaker. So what happens is you serve the ad, but the ad the network serves has a frame breaker on the page. The framebreaker then redirects you.


    Suggestion, Dont want redirects then use a reliable AD Network.
     
    wrekoniz3, Nov 20, 2012 IP
  3. nikipink

    nikipink Well-Known Member

    Messages:
    873
    Likes Received:
    16
    Best Answers:
    1
    Trophy Points:
    130
    #3
    i can't disable this redirection ,by any code on this iframe ?
     
    nikipink, Nov 20, 2012 IP
  4. wrekoniz3

    wrekoniz3 Well-Known Member

    Messages:
    2,232
    Likes Received:
    100
    Best Answers:
    0
    Trophy Points:
    190
    #4
    No. Its in the ads which you are serving. Try using a better network.
     
    wrekoniz3, Nov 21, 2012 IP