javascript-obfuscator icon indicating copy to clipboard operation
javascript-obfuscator copied to clipboard

Domain Lock for abc.com.vn?

Open gianghl1983 opened this issue 5 years ago • 3 comments

Hi,

In my country, there are domains like abc.com.vn beside abc.vn.

How can I lock for those domains? abc.com.vn and sub.abc.com.vn?

Thanks!

gianghl1983 avatar Feb 04 '21 13:02 gianghl1983

domainLock: [], 

domainLock is array, so you can input all domains what you need. If you want include also sub domains. Include them by this:

[".mydomain.com", ".mydomain.com.vn"] // also work for sub.mydomain.com and sub.mydomain.vn

BlackYuzia avatar Feb 05 '21 20:02 BlackYuzia

@sanex3339 don't sure, but I think we should add regexp support for domains. Because this works - .domain.com // lock on domain.com, sub.domain.com and etc "sub" domains But this would't work - .domain. // lock on ???? (don't work on sub.domain.com 100%)

I hope we get support for this:

*.domain.com // domain.com, sub.domain.com etc
*.second.*?.com // second.com, sub.second.com, second-anynthing.com
third.*                // third.com, third.ru, third.ua, third.com.ua.su.kruzya.gay and etc should work

BlackYuzia avatar Feb 05 '21 20:02 BlackYuzia

@BlackYuzia Thank you!

gianghl1983 avatar Feb 07 '21 12:02 gianghl1983