Example
Parameters
The URL to allow. This can be a full URL or a domain.Ex.
https://google.com or google.comUse this method to add a domain to the allowlist
local mode to populate new entries
in the allowlist. In cloud mode, the allowlist is populated automatically.await detector.allow("google.com");
console.log(await detector.url("https://google.com"));
https://google.com or google.comWas this page helpful?