(function() {
  function xpath(expr) {
    return document.evaluate(expr, document, null, XPathResult.ANY_TYPE, null).iterateNext();
  }
  
  var patchBy = xpath('//a[contains(../../td/b/a/text(), "Assigned")]').getAttribute("title");
  var bugNumber = xpath('//h3/a/text()').nodeValue;
  var bugDescr = xpath('//h3/text()').nodeValue.replace(/^ . /, "");
  
  var textNode = document.createTextNode(bugNumber + " - " + bugDescr + "\np=" + patchBy + "\n")
  var pre = document.createElement("pre");
  pre.appendChild(textNode);
  document.body.appendChild(pre);
  pre.style.position = "absolute";
  pre.style.left = "0";
  pre.style.top = "0";
  pre.style.zIndex = "9999";
  pre.style.backgroundColor = "white";
  
  window.getSelection().removeAllRanges();
  var range = document.createRange();
  range.selectNode(pre);
  window.getSelection().addRange(range);
})()



javascript:(function()%20%7B%0D%0A%20%20function%20xpath(expr)%20%7B%0D%0A%20%20%20%20return%20document.evaluate(expr%2C%20document%2C%20null%2C%20XPathResult.ANY_TYPE%2C%20null).iterateNext()%3B%0D%0A%20%20%7D%0D%0A%20%20%0D%0A%20%20var%20patchBy%20%3D%20xpath('%2F%2Fa%5Bcontains(..%2F..%2Ftd%2Fb%2Fa%2Ftext()%2C%20%22Assigned%22)%5D').getAttribute(%22title%22)%3B%0D%0A%20%20var%20bugNumber%20%3D%20xpath('%2F%2Fh3%2Fa%2Ftext()').nodeValue%3B%0D%0A%20%20var%20bugDescr%20%3D%20xpath('%2F%2Fh3%2Ftext()').nodeValue.replace(%2F%5E%20.%20%2F%2C%20%22%22)%3B%0D%0A%20%20%0D%0A%20%20var%20textNode%20%3D%20document.createTextNode(bugNumber%20%2B%20%22%20-%20%22%20%2B%20bugDescr%20%2B%20%22%5Cnp%3D%22%20%2B%20patchBy%20%2B%20%22%5Cn%22)%0D%0A%20%20var%20pre%20%3D%20document.createElement(%22pre%22)%3B%0D%0A%20%20pre.appendChild(textNode)%3B%0D%0A%20%20document.body.appendChild(pre)%3B%0D%0A%20%20pre.style.position%20%3D%20%22absolute%22%3B%0D%0A%20%20pre.style.left%20%3D%20%220%22%3B%0D%0A%20%20pre.style.top%20%3D%20%220%22%3B%0D%0A%20%20pre.style.zIndex%20%3D%20%229999%22%3B%0D%0A%20%20pre.style.backgroundColor%20%3D%20%22white%22%3B%0D%0A%20%20%0D%0A%20%20window.getSelection().removeAllRanges()%3B%0D%0A%20%20var%20range%20%3D%20document.createRange()%3B%0D%0A%20%20range.selectNode(pre)%3B%0D%0A%20%20window.getSelection().addRange(range)%3B%0D%0A%7D)()
