AdguardTeam / AdguardTeam/AdGuardMiniForMac

Can't apply element hiding rule to the element inside IFRAME

未关闭
#105 6 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
Bug Priority: P3
主要语言
Swift
星标
1.2k
派生
83
PR 合并指标
PR 指标待抓取

描述

@Alex-302 commented on [Sat Sep 09 2017](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/852)

Original issue
https://github.com/AdguardTeam/AdguardFilters/issues/6595#issuecomment-328218629

![image](http://imagizer.imageshack.com/img922/485/1lY9Wi.png)

Does not work: `t3n-de.cdn.ampproject.org##amp-iframe`
works: `google.de##amp-iframe`

---

@ameshkov commented on [Sun Sep 17 2017](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/852#issuecomment-330051035)

The thing is that this is how it is supposed to work in Safari.

`if-domain`/`unless-domain` are checked against the window domain, frame domain is ignored.

We can fix this if we use `url-filter` instead of the `if-domain`, but it's not good from the performance point of view.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。