Skip to content

the obfuscator code can not run in IE8 #13

@acgotaku

Description

@acgotaku

Because IE8 have not console object in normal mode, so the code will trigger error or you have to press F12 open developer tools.

At last, I have to add polyfill code before the obfuscator code:

window.console = window.console || (function(){ var c = {}; c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile = c.clear = c.exception = c.trace = c.assert = function(){}; return c; })();

Please check whether console object exists before disable console output.

Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions