|
@@ -690,6 +690,8 @@ Type: `string[]` Default: `[]`
|
|
|
|
|
|
Allows to run the obfuscated source code only on specific domains and/or sub-domains. This makes really hard for someone to just copy and paste your source code and run it elsewhere.
|
|
|
|
|
|
+If the source code isn't run on the domains specified by this option, the browser will be redirected to a passed to the [`domainDest`](#domaindest) option domain or URL.
|
|
|
+
|
|
|
##### Multiple domains and sub-domains
|
|
|
It's possible to lock your code to more than one domain or sub-domain. For instance, to lock it so the code only runs on **www.example.com** add `www.example.com`. To make it work on the root domain including any sub-domains (`example.com`, `sub.example.com`), use `.example.com`.
|
|
|
|
|
@@ -698,7 +700,7 @@ Type: `string` Default: `about:blank`
|
|
|
|
|
|
##### :warning: This option does not work with `target: 'node'`
|
|
|
|
|
|
-Allows the browser to be redirected to a passed domain if the source code isn't run on the domains specified by [`domainLock`](#domainlock)
|
|
|
+Allows the browser to be redirected to a passed domain or URL if the source code isn't run on the domains specified by [`domainLock`](#domainlock)
|
|
|
|
|
|
### `exclude`
|
|
|
Type: `string[]` Default: `[]`
|