aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/skype/webview-unsafe.js
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-05-28 00:01:45 +0200
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-07-24 00:23:17 +0000
commit47af9e6a6f3f4aa6251a0d16b1f5139c19079901 (patch)
treeb2006e8aab2d74bff91b9c5bbcafc8654aca0f8c /recipes/skype/webview-unsafe.js
parent[googlecalendar] Context isolation support (diff)
downloadferdium-recipes-47af9e6a6f3f4aa6251a0d16b1f5139c19079901.tar.gz
ferdium-recipes-47af9e6a6f3f4aa6251a0d16b1f5139c19079901.tar.zst
ferdium-recipes-47af9e6a6f3f4aa6251a0d16b1f5139c19079901.zip
[skype] Context isolation support
Diffstat (limited to 'recipes/skype/webview-unsafe.js')
-rw-r--r--recipes/skype/webview-unsafe.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/skype/webview-unsafe.js b/recipes/skype/webview-unsafe.js
new file mode 100644
index 0000000..28f5e0e
--- /dev/null
+++ b/recipes/skype/webview-unsafe.js
@@ -0,0 +1,8 @@
1const nameDescriptor = Object.getOwnPropertyDescriptor(Plugin.prototype, 'name');
2const getName = nameDescriptor.get;
3Object.defineProperty(Plugin.prototype, 'name', {
4 ...nameDescriptor,
5 get() {
6 return getName.call(this).replace('Chromium', 'Chrome');
7 },
8});