```event.preventDefault();``` is here in order to not activate X-Ray button's script, and only save the link on that button (to move it to the bookmark). This was done to prevent inline script (CSP violation). here -> https://bugzilla.mozilla.org/show_bug.cgi?id=959277