Skip to content

Instantly share code, notes, and snippets.

@iamamused
Created February 21, 2013 15:42
Show Gist options
  • Save iamamused/5005569 to your computer and use it in GitHub Desktop.
Save iamamused/5005569 to your computer and use it in GitHub Desktop.
[Quickscript](http://canisbos.com/quickscript) scripts
// urls:https://projects.zoho.com/*
// Inject so we're running in the document context
function inject(newScript) {
var oScript = document.createElement("script");
oScript.language = "javascript";
oScript.type = "text/javascript";
oScript.text = newScript;
document.getElementsByTagName('BODY').item(0).appendChild(oScript);
}
// dims bugs that are "Closed" or "To be tested"
inject('JSStatusStyler = function(){jQuery("span:contains(\'To be tested\'),span:contains(\'Closed\')").parents(\'tr.tdout\').css(\'opacity\',\'0.2\');}; jQuery(\'body\').ajaxStop(JSStatusStyler); JSStatusStyler();');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment