title: pass attribute on click link instead hash
body: <p>I have a link in my menu. It has an attributte like <code>title=.roc</code>.
  When I click on this link, I want to save this attribute and click on element with the same attribute on the destination page.</p>
  
  <p>Page <code>example.com</code>. I click in the next link.</p>
  
  <pre><code>&lt;li class="menu-item"&gt;&lt;a title=".roc" href="https://example.com/port/#flash"&gt;Roc&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>So now, in <em>example.com/port/</em>, it should click the element with <code>title=".roc"</code>:</p>
  
  <pre><code>&lt;a id="flash" href="#" title=".roc"&gt;ROC2&lt;/a&gt;
  </code></pre>
  
  <p>I have this code, but I dont know how pass the attribute instead the hash:</p>
  
  <pre><code>jQuery(function ($) {
    var activeTab = document.querySelector(location.hash);
    history.replaceState(null, null, ' ');
    window.addEventListener('load', function () {
      if (activeTab) {
        setTimeout(function(){ activeTab.click(); }, 100);
      }  
    })
  });
  </code></pre>