title: Userscript getElementsByTagName not returning all links of Jira page
body: <p>I need to make my Jira page on internal network show my assignee name in red color using a userscript without any external code use - no jQuery etc. And be as simple as possible, as I'm just learning.
  Example page is here (List view): <a href="https://jira.atlassian.com/issues/?filter=-5" rel="nofollow noreferrer">https://jira.atlassian.com/issues/?filter=-5</a></p>
  
  <p>My internal page has following tag with my name in it, like this:</p>
  
  <pre><code>&lt;a class="user-hover" rel="myusername" id="assignee_myusername" href="https://jira.mydomain.org/secure/ViewProfile.jspa?name=myusername" target="_parent"&gt;Myfirstname Mylastname&lt;/a&gt;
  </code></pre>
  
  <p>My userscript is only making color changes on top and bottom lines of the page (I am logged in; it changes most links for userspecific ones). But the middle, where list of cases and assignees is listed, doesn't get affected. Here is my script:</p>
  
  <pre><code>// ==UserScript==
  // @name           Jira
  // @namespace      https://jira.mydomain.org/secure/Dashboard.jspa
  // @include        https://jira.mydomain.org/*
  // ==/UserScript==
  var links = document.getElementsByTagName( 'a' );
  var element;
      for ( var i = 0; i &lt; links.length; i++ ) {
      element = links[ i ];
      if ( element.id = "assignee_myusername" ) {
          element.style.color = "red";
          element.style.backgroundColor = "black";
      }
  }
  </code></pre>
  
  <p>How do I make it highlight my name in Assignee column?</p>
  
  <p>P.S. This is not same as the Ajax question, as that uses external code, which I specified in the beginning - no external code. No external code.</p>