JIRA issue linking for git.reactos.org

I actually need this one, probably not the most useful script ever made.

  1. // ==UserScript==
  2. // @name JIRA issue linking for git.reactos.org
  3. // @description I actually need this one, probably not the most useful script ever made.
  4. // @namespace swyter
  5. // @match https://git.reactos.org/*
  6. // @version 2015.10.30
  7. // @grant none
  8. // ==/UserScript==
  9.  
  10. var page_body = document.querySelector(".page_body");
  11.  
  12. page_body.innerHTML = page_body.innerHTML.replace(/(CORE-\w+)/gi, "<a href='https://jira.reactos.org/browse/$1'>$1</a>");