Control URL schemes and protocols
mainTo prevent javascript: URI attacks, the library validates schemes for attributes like href, src, and cite.
allowedSchemes: An array of permitted protocols (e.g.,['http', 'https', 'mailto']).allowedSchemesByTag: An object allowing different schemes for different tags.allowProtocolRelative: Boolean. Iftrue, allows URLs starting with//.allowedScriptHostnames/allowedScriptDomains: If provided, restrictsscript[src]to specific hosts or domains.