# Misbehaving ad

**URL:** https://boards.straightdope.com/t/misbehaving-ad/955589
**Category:** Site Feedback
**Created:** [December 6, 2021, 10:07pm UTC](https://boards.straightdope.com/t/misbehaving-ad/955589 "2021-12-06T22:07:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)
#### Post date: [December 6, 2021, 10:07pm UTC](https://boards.straightdope.com/t/misbehaving-ad/955589/1 "2021-12-06T22:07:08Z")

</div>

On the [www.straightdope.com](http://www.straightdope.com) page, there’s currently an ad that’s coming up from New York Life insurance, about agape love. It takes up the full page, so you can’t do anything else on the page while it’s open. And it can’t be closed: If you click the X in the corner, it takes you to New York Life’s page in a new window, and leaves the old window still entirely owned by the ad.

---

<div class="post-metadata">

### Author: ![Lumpy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lumpy/32/446_2.png) [@Lumpy](https://boards.straightdope.com/u/Lumpy)
#### Post date: [December 6, 2021, 10:31pm UTC](https://boards.straightdope.com/t/misbehaving-ad/955589/2 "2021-12-06T22:31:24Z")

</div>

At times I have been driven to open my browser’s html editor and simply delete the offending element.

---

<div class="post-metadata">

### Author: ![SharltoCopley](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/sharltocopley/32/12309_2.png) [@SharltoCopley](https://boards.straightdope.com/u/SharltoCopley)
#### Post date: [December 10, 2021, 8:30am UTC](https://boards.straightdope.com/t/misbehaving-ad/955589/3 "2021-12-10T08:30:53Z")

</div>

How can you identify it in the code?

---

<div class="post-metadata">

### Author: ![gnoitall](https://avatars.discourse-cdn.com/v4/letter/g/bb73d2/32.png) [@gnoitall](https://boards.straightdope.com/u/gnoitall)
#### Post date: [December 10, 2021, 3:07pm UTC](https://boards.straightdope.com/t/misbehaving-ad/955589/4 "2021-12-10T15:07:19Z")

</div>

My usual trick is to right-click the ad and select the “inspect” menu, which opens a debugging window centered on the ad content. I usually the go back out a couple of levels of html elements to find the div or iframe that wraps the add and use the debugger’s “delete element” command.

Of course, this requires that you understand html well enough to recognize and kill the ad and not something needed in the page. Also, some ads override the right-mouse menu so it’s not as easy to enter the debugger focused on the ad.

The easy answer remains “good adblocker”.

---

<div class="post-metadata">

### Author: ![Atamasama](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/atamasama/32/12961_2.png) [@Atamasama](https://boards.straightdope.com/u/Atamasama)
#### Post date: [December 12, 2021, 9:59am UTC](https://boards.straightdope.com/t/misbehaving-ad/955589/5 "2021-12-12T09:59:52Z")

</div>

> [@gnoitall](#):
>
> The easy answer remains “good adblocker”.

Yeah, I don’t browse anywhere without one.

When I go to a web site that demands I disable my ad blocker, it’s like visiting an underwater grotto that demands I remove my scuba helmet,
