Change link.origin with linbk.host for compatibility with firefox.