nandokujs
Advanced tools
Comparing version 0.0.22 to 0.0.23
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "nandokujs is an obfuscation tool for obfuscating javascript files to be published on the Web and making it difficult to analyze the contents.", | ||
@@ -9,0 +9,0 @@ "main": "index.js", |
@@ -9,2 +9,4 @@ # nandokujs とは | ||
日本語の説明は [こちら](https://github.com/maachang/nandokujs/blob/master/README_JP.MD) | ||
nandokujsは、Webに公開するjavascriptファイルを難読化し、内容を解析しづらくするための、難読化ツールです. | ||
@@ -33,2 +35,4 @@ | ||
[js file name] Set the js file name to be converted. | ||
[execute eval] When [true] is set, when [false] is set in eval, | ||
it expands by location. | ||
[tally code] Set tally code. | ||
@@ -46,4 +50,14 @@ html side js call (<script src='target js'></script>)に | ||
第二引数には、任意ですが `割符コード` を設定できます. | ||
第二引数で、展開条件を設定します。 | ||
[true]の場合 evalで難読化された情報を展開します。 | ||
[false]の場合 location="javascript:"で難読化された情報を展開します。 | ||
この設定を省略した場合は[true]扱いになります。 | ||
この設定を行う理由として、eval で難読化された情報を展開させたくなくて location="javascript:" で展開させたい場合があると思います。 | ||
そのような場合に利用します。 | ||
第三引数には、任意ですが `割符コード` を設定できます. | ||
その場合は、webに公開するjavascript呼び出し元に対して、以下のようにコーディングする必要があります. | ||
@@ -50,0 +64,0 @@ |
@@ -9,2 +9,4 @@ # What is nandokujs | ||
日本語の説明は [こちら](https://github.com/maachang/nandokujs/blob/master/README_JP.MD) | ||
nandokujs is an obfuscation tool for obfuscating javascript files to be published on the Web and making it difficult to analyze the contents. | ||
@@ -33,2 +35,4 @@ | ||
[js file name] Set the js file name to be converted. | ||
[execute eval] When [true] is set, when [false] is set in eval, | ||
it expands by location. | ||
[tally code] Set tally code. | ||
@@ -46,2 +50,12 @@ html side js call (<script src='target js'></script>)に | ||
Set the expansion condition with the second argument. | ||
When [true] Expand obfuscated information with eval. | ||
[false] Extract obfuscated information with location = "javascript:". | ||
If this setting is omitted, it will be treated as [true]. | ||
As a reason to do this setting, there are cases where you do not want to extract obfuscated information in eval, but you want to expand it with location = "javascript:". | ||
It is used in such a case. | ||
The second argument is optional, but you can set it to a `tally code`. | ||
@@ -48,0 +62,0 @@ |
130598
95