Skip to content

Instantly share code, notes, and snippets.

@nightpool
nightpool / webcrack.js
Last active August 8, 2019 17:53 — forked from twilight-sparkle-irl/webcrack.discord.min.js
webcrack for tumblr
// 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 :