Skip to content

Commit 27163de

Browse files
Release build 4.53.0 [ci release]
1 parent b7ad984 commit 27163de

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

build/chrome/inject.js

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inject/chrome.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,14 @@ function init () {
8282
}
8383
})
8484
});
85-
8685
// Define a random update function we call later.
8786
// Use define property so isn't enumerable
8887
Object.defineProperty(window, '${reusableMethodName}', {
89-
// Use proxy to ensure stringification isn't possible
88+
enumerable: false,
89+
// configurable, To allow for deletion later
90+
configurable: true,
91+
writable: false,
92+
// Use proxy to ensure stringification isn't possible
9093
value: new Proxy(function () {}, {
9194
apply(target, thisArg, args) {
9295
if ('${reusableSecret}' === args[0]) {

0 commit comments

Comments
 (0)