---
title: "新版QQ邮箱VIP会员广告屏蔽过滤规则"
date: 2025-09-23T12:16:58.000Z
updated: 2025-12-25T00:00:00.000Z
tags: ["新版邮箱", "新版QQ邮箱", "QQ邮箱", "新版邮箱广告屏蔽", "新版QQ邮箱广告屏蔽", "QQ邮箱广告屏蔽", "新版邮箱广告过滤规则", "新版QQ邮箱广告过滤规则", "QQ邮箱广告过滤规则", "新版邮箱VIP广告屏蔽", "新版QQ邮箱VIP广告屏蔽", "QQ邮箱VIP广告屏蔽", "新版邮箱会员广告屏蔽", "新版QQ邮箱会员广告屏蔽", "QQ邮箱会员广告屏蔽"]
categories: ["技术"]
canonical: https://www.zhaojian.net/new-qq-mail-vip-adblock-rules/
author: 赵健
---

QQ邮箱新版本发布有一段时间了，一开始文件夹无法排序，反馈了也没回应。

8月份的更新，终于可以排序文件夹了。但随之而来的，是铺天盖地、吃相难看的VIP会员广告，不知道运营团队是怎么想的，缺钱缺疯了吗？一个页面塞进去9个推荐广告，也只有QQ邮箱VIP会员能做到了！！！

![新版QQ邮箱VIP会员广告屏蔽过滤规则](/uploads/2025/09/qqmail.png)

于是，有了新版QQ邮箱VIP会员广告屏蔽过滤规则。只在Adblock Plus、Brave做了测试，其他的不知道是否正常。

**免责声明**：本广告过滤规则仅供我个人使用，用于系统更换时的备份。如果你看到了本规则，请马上闭上眼睛，不要参考借鉴。本人不对参考、引用、个人使用或商业用途引起的任何法律责任承担责任。


持续更新地址：[https://github.com/zhaojiannet/qq-mail-adblock](https://github.com/zhaojiannet/qq-mail-adblock)

```
[Adblock Plus]
! Title: QQ邮箱VIP广告屏蔽规则
! Description: 屏蔽新版QQ邮箱中的VIP会员推广广告
! Homepage: https://github.com/zhaojiannet/qq-mail-adblock
! Last modified: 2025-12-25
! Version: 1.0.0
! License: MIT

! =====================================
! 头像左侧
! =====================================
mail.qq.com##div.xmail-cmp-vip-float-bubble:has(.cmp-vip-float-bubble-body)
mail.qq.com##div:has(span:has-text(开通 VIP 会员)):has(.cmp-vip-icon)
mail.qq.com##div.cmp-vip-float-bubble-body:has-text(让邮箱更好用)

! =====================================
! 头像弹出
! =====================================
wx.mail.qq.com##.xmail-cmp-vip-embed-bubble
wx.mail.qq.com##div.xmail-ui-btn.ui-btn-size32.ui-btn-them-clear-gray.footer-btn:nth-of-type(1)
wx.mail.qq.com##.vip-icon-click.vip-icon-in-panel.cmp-vip-state-icon.common-state-icon
wx.mail.qq.com##.profile-user-info > .cmp-vip-state-icon.common-state-icon
wx.mail.qq.com##.cmp-vip-icon-click.cmp-vip-icon-in-panel.cmp-vip-state-icon.cmp-common-state-icon

! =====================================
! 应用容量
! =====================================
wx.mail.qq.com##div.setting-group:nth-of-type(1)
wx.mail.qq.com##.content-time

! =====================================
! 设置-顶部
! =====================================
wx.mail.qq.com##.xmail-cmp-vip-banner-common

! =====================================
! 设置-容量
! =====================================
wx.mail.qq.com##.mail-setting-storage > div.setting-item-wrap:nth-of-type(2) > div.setting-item-row:nth-of-type(2)

! =====================================
! 设置-显示主题
! =====================================
wx.mail.qq.com##.setting-item-wrap.mail-setting-themes > div.setting-item-row:nth-of-type(1)
wx.mail.qq.com##.setting-item-wrap.mail-setting-themes > div.setting-item-row:nth-of-type(2) > .setting-theme-cards
wx.mail.qq.com##.setting-item-wrap.mail-setting-themes > div.setting-item-row:nth-of-type(3)

! =====================================
! 设置-发信
! =====================================
wx.mail.qq.com##.inactive-account-table

! =====================================
! 设置-自助查询
! =====================================
wx.mail.qq.com##.xmail-ui-hyperlink.query-head-note
wx.mail.qq.com##.xmail-ui-hyperlink.ui-hyperlink-is-inline.tab-title-vip-link

! =====================================
! 设置-全局
! =====================================
wx.mail.qq.com##.cmp-streamer-right

```

阻止弹出层自动消失代码，控制台执行

```
setTimeout(() => {
    // 保存原始的 addEventListener
    const originalAddEventListener = EventTarget.prototype.addEventListener;

    // 拦截所有新添加的 click 事件
    EventTarget.prototype.addEventListener = function(type, listener, options) {
        if (type === 'click') {
            console.log('拦截了 click 事件');
            return; // 不添加这个事件
        }
        return originalAddEventListener.call(this, type, listener, options);
    };

    // 移除页面上所有已存在的 click 事件
    document.querySelectorAll('*').forEach(el => {
        const clone = el.cloneNode(true);
        if (el.parentNode) {
            el.parentNode.replaceChild(clone, el);
        }
    });

    console.log('✓ 已禁用所有点击关闭功能');
}, 3000);
```