4 ms·
No it can't, but yes it can, just not like that. https://github.com/gorhill/uBlock/wiki/Resources-Library#nowebrtcjs- https://github.com/gorhill/uBlock/wiki/Re
by its-summertime 2mo ago
No it can't, but yes it can, just not like that.
https://github.com/gorhill/uBlock/wiki/Resources-Library#nowebrtcjs- https://github.com/gorhill/uBlock/wiki/Resources-Library#now...
As can be seen, it matches on the source, not the destination
https://github.com/gorhill/uBlock/wiki/Resources-Library#webrtc-ifjs- https://github.com/gorhill/uBlock/wiki/Resources-Library#web...
can match on the destination, however.
Its not a good state of things, but I'm assuming its more of an issue on the browser side as opposed to the extension side
- justusw 2mo agoThanks for the reference links. I blocked RTC connections initiated on the SBI Shinsei banking log in page at bk.web.sbishinseibank.co.jp with the following custom uBlock Origin filter: bk.web.sbishinseibank.co.jp##+js(nowebrtc) You can see that it works because typing `new window.RTCPeerConnection()` in the browser console prints this: Document tried to create an RTCPeerConnection: undefined Which comes from uBlock, see https://github.com/gorhill/uBlock/blob/5efb8ee4891c09720011e4b7f88272d9c8ff104c/src/js/resources/scriptlets.js#L933 https://github.com/gorhill/uBlock/blob/5efb8ee4891c09720011e... Edit: I gave a shout-out to your comment on the blog post linked in this submission. Thanks again.