Use this method to add a domain to the blocklist
local
cloud
await detector.block("google.com"); console.log(await detector.url("https://google.com"));
https://google.com
google.com
Hide properties
true
url
false
error
Was this page helpful?