QualityNet Jira and QualityNet Confluence will be briefly unavailable on Wednesday, July 24, 2024, between 8:00 PM ET and 9:00 PM ET while the team performs an AMI update.  If you have questions or concerns, please reach out to us in Slack at #help-atlassian.

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTML
<script type="text/javascript">

var searches = document.getElementsByName("queryString");

for(var x=0; x < searches.length; x++) {
    searches[x].addEventListener('keypress', (event) => {     
    var main    setTimeout(fixSearchLinks(), 500);
  });
}

function fixSearchLinks() {
    var list = document.getElementByIdgetElementsByClassName("main");search-macro search-macro-medium conf-macro output-inline");
    for (var l=0;l<list.length;l++) {
      var aTags = mainlist[l].getElementsByTagName("a");
      for(var x = 0; x < aTags.length; x++) {
      //debugger;
      var a = aTags[x].getAttribute("href");
        if (a != null) {
          if (a.indexOf("src=contextnavpagetreemode") < 0) {
            aTags[x].setAttribute("target", "_blank");
          }
        }
      }
    });
}

</script>