Screenshot / Code Snippet
The script will highlight the close reason found at the end of a question title in red.
This might be efficient for users that either want to salvage potential value or users that scan the search results looking for questions to answer.
The script finds the question links in the question list pages and check if their title ends with duplicate, closed or on hold. The script then wraps that text in a SPAN element so it can get a different color by the provided styling.
The script is tested in TamperMonkey on Chrome Windows 10. It should work on any decent script manager as long as it isn't GreaseMonkey.
You can leave an answer here if you've found a bug or have a feature request. Direct PR's are welcome as well.
The script is 100% jQuery and there is still not enough of it in this script.
I did use a MutationObserver.
Originally posted on Meta Stack Overflow
|0.5||moved to GitHub|
|0.6||Honored Stacks Design and uses .js-* classes now to hook-up functionality|