aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/skype/webview-unsafe.js
diff options
context:
space:
mode:
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});