`getOrigin` also trim the rest part of URL. It might not compare correctly if its a web page. (ex: moz.org/1, moz.org/2)