obfuscate_ostentation_paraphrase

电脑杂谈  发布时间:2017-04-19 06:18:03  来源:网络整理
obfuscateobfuscate

gulp plugin to obfuscate your code.

gulp-obfuscate obfuscates your javascript code so that it looks like this:

and this:

--

--

Type: ZALGO or LOOK_OF_DISAPPROVAL

Default: LOOK_OF_DISAPPROVAL

Example:

Note: Both obfuscation methods create valid javascript variables per ECMAScript 5.1.That said, there is no guarantee that older browsers can handle the mighty power of ZALGO.

Type: String or Array of Strings

Default: 'break', 'case', 'catch', 'continue', 'debugger', 'default', 'delete', 'do', 'else', 'finally', 'for', 'function', 'if', 'in', 'instanceof', 'new', 'return', 'switch', 'this', 'throw', 'try', 'typeof', 'var', 'void', 'while', 'with', 'prototype', 'null', 'true', 'false', 'NaN', 'undefined', 'Infinity', 'ಠ_ಠ', 'H͇̬͔̳̖̅̒ͥͧẸ̖͇͈͍̱̭̌͂͆͊_C͈OM̱̈́͛̈ͩ͐͊ͦEͨ̓̐S̬̘͍͕͔͊̆̑̈́̅'

Values: do_not_replace, abc, ...

Regular expressions to be globally excluded from obfuscation. Current defaults include javascript reserved words.Custom exclusions are often needed for variables or functions that need to stay named the same (such as inteces to other code).

Note: defaults will be automatically appended to any options.exclude variables provided.

See gulp-regex-replace documentation for more details.

MIT © Mike Groseclose


本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/ruanjian/article-42189-1.html

    相关阅读
      发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

      热点图片
      拼命载入中...