Reference

isUnsafeUrlAttribute

Checks whether an HTML URL-bearing attribute value uses a blocked scheme.

Signature

function isUnsafeUrlAttribute(name: string, value: string): boolean