广告拦截器测试

检查您的解决方案如何有效地阻止广告、跟踪器和恶意脚本

0 个域名 0 个分类

您的分数

0%
等待开始

保护级别: —

分类结果

指纹保护

WebRTC泄漏测试

与上次测试对比

测试历史

测试原理

我们检查连接到流行广告和分析服务的能力。如果您的拦截器工作正常,请求将被阻止。

  • 域名检查 — 尝试从广告服务器加载资源
  • 指纹检测 — canvas、WebGL、音频指纹保护
  • WebRTC检测 — IP地址泄漏检测
  • 元素检查 — 隐藏页面上的广告块

重要提示

100%的结果并不能保证完全保护。测试检查的是有限的流行域名列表。

AdBlock 测试常见问题

如何检查广告拦截器是否有效?

在平时使用的浏览器中运行测试。等待完成后展开各个类别,查看哪些示例请求已加载,哪些没有完成。

测试百分比代表什么?

它表示已检查的请求中未完成的比例。测试将这些请求计为已拦截。结果仅反映当前浏览器处理这一组请求的情况。

为什么某个请求会显示为已拦截?

除了广告拦截器,浏览器设置、网络过滤、域名不可用或超时也可能影响结果。仅凭一个请求通常无法确定原因。

如何比较两次测试?

修改浏览器或拦截器中的一项设置,并在同一网络上重新测试。对比会显示在结果下方,历史记录保存在当前浏览器中。

${this.i18n.pdf_title}

${date}

${score}%

${this.i18n.pdf_blocked_of.replace('{blocked}', this.blockedTests).replace('{total}', this.totalTests)}

${this.i18n.pdf_categories}

`; for (const [key, result] of Object.entries(this.results)) { const percent = Math.round((result.blocked / result.total) * 100); const catName = this.i18n[this.tests[key]?.name] || key; content += `
${catName}: ${result.blocked}/${result.total} (${percent}%)
`; } content += `

${this.i18n.pdf_fingerprint}

${this.i18n.pdf_test}${this.i18n.pdf_status}
Canvas${this.fingerprintResults.canvas?.protected ? this.i18n.fp_protected : this.i18n.fp_exposed}
WebGL${this.fingerprintResults.webgl?.protected ? this.i18n.fp_protected : this.i18n.fp_exposed}
Audio${this.fingerprintResults.audio?.protected ? this.i18n.fp_protected : this.i18n.fp_exposed}
Fonts${this.fingerprintResults.fonts?.protected ? this.i18n.fp_protected : this.i18n.fp_exposed}

${this.i18n.pdf_webrtc}

${this.webrtcResults.leakDetected ? '⚠️ ' + this.i18n.pdf_leak_detected : '✅ ' + this.i18n.pdf_no_leak}

${this.webrtcResults.localIP ? `

Local IP: ${this.webrtcResults.localIP}

` : ''} ${this.webrtcResults.publicIP ? `

Public IP: ${this.webrtcResults.publicIP}

` : ''}

User Agent: ${navigator.userAgent}

`; const printWindow = window.open('', '_blank'); printWindow.document.write(content); printWindow.document.close(); printWindow.print(); }, copyResult() { const score = this.elements.scoreValue.textContent; const text = this.i18n.share_result.replace('{score}', score); navigator.clipboard.writeText(text).then(() => { const btn = this.elements.copyBtn; const originalText = btn.innerHTML; btn.innerHTML = `${this.i18n.copied}`; setTimeout(() => btn.innerHTML = originalText, 2000); }); } }; document.addEventListener('DOMContentLoaded', () => AdBlockTest.init());