AdguardTeam / AdguardTeam/AdGuardMiniForMac

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

Đang mở
#105 6 bình luận 1 reaction 0 người được giao Xem trên GitHub
Bug Priority: P3
Ngôn ngữ chính
Swift
Star
1.2k
Fork
83
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

@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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.