Same Origin
Whether two http(s) URLs share an origin.
Compares URL.origin of two addresses. Unlike URL Origin this is a yes/no of two URLs. Unlike Parse URL this does not print path. Non-http URLs fail. Local only.
Same origin: 1
Origin A: https://example.com
Origin B: https://example.com
Origin A: https://example.com