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 摘要。