Use a url starting with // (no URL scheme) and the browser will use the same one as the current page. Fixes #1.