Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
chore: previous fix works
Browse files Browse the repository at this point in the history
66b9972

close #6, #8
  • Loading branch information
unbyte committed May 26, 2020
1 parent 66b9972 commit b0f329d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/hack.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// to anti `EventTarget.prototype.addEventListener = function(){check whether a click is from real user}`
export const preventBanClick: () => void = () => {
const saveScript = document.createElement("script");
saveScript.textContent = `Object.freeze(EventTarget.prototype);`;
Expand Down

0 comments on commit b0f329d

Please sign in to comment.