From 242f3b0ca5a8f6b873694aec993d8cb75c2bc9b1 Mon Sep 17 00:00:00 2001 From: gwarser Date: Mon, 29 Jul 2019 17:02:25 +0200 Subject: [PATCH] add webrtc-if.js --- Resources-Library.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Resources-Library.md b/Resources-Library.md index 65cccf4..e7575c0 100644 --- a/Resources-Library.md +++ b/Resources-Library.md @@ -238,6 +238,14 @@ Parameters: *** +### webrtc-if.js [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/assets/resources/scriptlets.js#L556) +Allows opening RTC connections to matching [RTCIceServer](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceServer) only. + +Parameters: + - required, string/_regular expression_, matching in `RTCIceServer` `urls`, `username` or `credential`. + +*** + ### window.open-defuser.js [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/window.open-defuser.js) Prevent opening new windows by [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open) when URL positively or negatively matches to specific string.