You cant do that I think as your real attribute. Your best bet is fetching something.here content. Or using PHP GET to send data to next page and use PHP if isset, you can not use event handlers from one page to other (maybe you could resort of using cookie or local storage on click but that is overkill of you ask me). When your new page loads its new show.
For example using ?get to send and fetch with JS:
<link rel="author" href="http://something.here?author=true" />
And when new page loads:
var loc= window.location.href;
//get loacation
values=loc.split('?');
link=values[values.length-1];
//split it at ? and get : `author=true`
if (value == "author=true") {
// do something
};
Or use PHP:
<?php
if (isset($_GET['author'])) {
// do somehing
} ?>