// Ignore cross-protocol and cross-origin links.
if (location.protocol !== this.protocol || location.host !== this.host) {
return;
// Ignore cross-protocol and cross-origin links.
if (location.protocol !== this.protocol || location.host !== this.host) {
return;