URL-Query entfernen

Query und Hash von http(s)-URLs entfernen.

Entfernt search und hash von einer http(s)-URL. Anders als URL-Pfad: voller href. Anders als URL-Fragment: löscht Query und Hash. Nicht-http scheitert.

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

calcCommon.urlOriginOut: https://example.com

calcCommon.urlPathOut: /path

Hash beibehalten (1 = ja): 0