JIRA issue linking for git.reactos.org

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

当前为 2015-10-25 提交的版本,查看 最新版本

  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 git.reactos.org/*
  6. // @version 2015.10.25
  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+)/, "<a href='https://jira.reactos.org/browse/$1'>$1</a>");