Skip to content

Commit

Permalink
Release build 4.53.0 [ci release]
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanKingston authored and github-actions[bot] committed Nov 24, 2023
1 parent b7ad984 commit 27163de
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions build/chrome/inject.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions inject/chrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,14 @@ function init () {
}
})
});
// Define a random update function we call later.
// Use define property so isn't enumerable
Object.defineProperty(window, '${reusableMethodName}', {
// Use proxy to ensure stringification isn't possible
enumerable: false,
// configurable, To allow for deletion later
configurable: true,
writable: false,
// Use proxy to ensure stringification isn't possible
value: new Proxy(function () {}, {
apply(target, thisArg, args) {
if ('${reusableSecret}' === args[0]) {
Expand Down

0 comments on commit 27163de

Please sign in to comment.