(function (patched) { if (!patched) { window.patched = true; console.log("patched") } })(patched)