去掉 URL 查询

去掉查询串,附 origin/path。

去掉 query(可选 hash),并返回 origin 与 path。

calcCommon.resultHref: https://example.com/path

calcCommon.urlOriginOut: https://example.com

calcCommon.urlPathOut: /path

保留 hash(1 = 是): 0