Blocking Pop-Ups From Websites That I Open On My Webpage

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ryan Sheehy

    Blocking Pop-Ups From Websites That I Open On My Webpage

    If I have a web page on my website labelled "testing.ht ml" that only
    has the following code (which is only an example, but does work):

    <html>
    <head>
    <title>Car Secrets</title>
    <meta http-equiv="refresh" content="0";
    URL="http://www.carsecrets. com">
    </head>
    </html>

    What would be the javascript code (or HTML code) that would block the
    target webpage's pop-up ads from coming up (being


    Would the script be any different if the website had a pop up when the
    user closed the page (if the source web page had some pop up come up
    when a user left their site)?

    Thanks,

    Ryan
  • David Dorward

    #2
    Re: Blocking Pop-Ups From Websites That I Open On My Webpage

    Ryan Sheehy wrote:
    [color=blue]
    > What would be the javascript code (or HTML code) that would block the
    > target webpage's pop-up ads from coming up[/color]

    You can not create any form of link to a third party site which would
    disable popups coming from that site. Suggest your users get a better
    browser instead. <http://switch2firefox. com/>

    --
    David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is

    Comment

    • Thomas 'PointedEars' Lahn

      #3
      Re: Blocking Pop-Ups From Websites That I Open On My Webpage

      David Dorward wrote:[color=blue]
      > Ryan Sheehy wrote:[color=green]
      >> What would be the javascript code (or HTML code) that would block the
      >> target webpage's pop-up ads from coming up[/color]
      >
      > You can not create any form of link to a third party site which would
      > disable popups coming from that site. [...][/color]

      Well, depending on the DOM and on the event handling structure of that
      document, you can. But since abuse of such code is likely, I think is
      best not to reveal how.


      PointedEars

      Comment

      Working...