> For the complete documentation index, see [llms.txt](https://docs.exoclick.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exoclick.com/tutorials/zh/jiao-cheng/fa-bu-shang-jiao-cheng/how-ensure-popunders-fit-rules-abusive-experiences.md).

# 弹出页：如何确保您的弹出页符合滥用式广告体验规则

这篇博客文章将向您展示如何使用我们的新脚本，确保您在网站上展示的 Popunder 符合滥用广告体验的规则。此外，新脚本的 **内嵌式 Popunder** 代码可确保即使最终用户正在使用广告拦截器，您的 Popunder 也会显示，从而进一步提高您的收入。更新后的代码应添加到您网站的标签内。

## 新的 Popunder 选项

这两个新选项都可确保 Popunder 广告被强制以弹出窗口（Pop-Up）形式显示。请注意，这两个新功能默认均为禁用：

*强制弹出* - 选择此选项可强制广告在所有浏览器中以弹出窗口形式触发，包括始终在 Chrome 上。

*备用弹出* - 选择此选项可强制广告仅在 Chrome 上始终以弹出窗口形式触发。此选项在其他浏览器上无效。

## 教程

{% stepper %}
{% step %}

### 步骤 1

选择“备用弹出”选项并将按钮打开。

<figure><img src="/files/0caac48dc01f440cc4800b38267fe028c0f8b2c4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 步骤 2

在触发方式下选择“点击特定 class”选项。这可确保广告仅在用户点击网站上的图片时触发，而不会在任何空白区域触发；这是关于 popunder 的规则之一。

<figure><img src="/files/ea0cb94ffd86b818fd2a036a7ad6c5908611c947" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 步骤 3

在“触发类”字段中添加一个 class 名称，您将在脚本以及网页中使用它来触发弹窗。（本例中为“test”）

<figure><img src="/files/3d8bea219108b4d52be50f33d445fd03dd018910" alt=""><figcaption></figcaption></figure>

使用此选项，发布者可以将 popunder 定义为仅在用户点击图片时生效。在页面的 HTML 中，class 的设置结构应如下所示：

<figure><img src="/files/1a8f4a03ed1ca31b53c199a275f838e3b74a1946" alt=""><figcaption></figcaption></figure>

其中链接标签 \\\<a> 包含 class “test”，并包含一个 \\\<img /> 标签。

这样，弹窗只会在这些特定元素上触发，而不会在页面的其他区域（例如空白处、其他文本链接等）触发。

***

**注意**: 如果 class 名称中包含空格，例如 "thumb nail"，系统将不接受。class 名称中不能有空格，应建议发布者将其重命名（建议改为 "thumb"）。破折号（“-”）是可接受的，例如："thumb-nail"。

此外，请记住，只要用逗号分隔，就允许使用多个 class：test、thumb 等。

***

{% endstep %}

{% step %}

### 步骤 4

下面是将生成的 Popunder 代码的截图示例，您可以将脚本复制并粘贴到网站的标签中。

<figure><img src="/files/130d7af5deeaeb57a794db7fd89b20211488cd37" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.exoclick.com/tutorials/zh/jiao-cheng/fa-bu-shang-jiao-cheng/how-ensure-popunders-fit-rules-abusive-experiences.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
