This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// With acknowledgments to zoe bootsy. | |
// Copyright 2019, licensed under the GPL v3.0 or later. | |
const webcrack3_injection = (_module, _exports, require) => { | |
window.webcrack3 = { | |
require, | |
moduleFunctions: require.m, | |
findModuleFunctionWithSourceLike (string_or_regex) { | |
const predicate = typeof string_or_regex === "string" ? | |
s => s.indexOf(string_or_regex) !== -1 : |