Last active
May 6, 2017 11:19
-
-
Save doyousketch2/f35dc3c4f80c6467bb8c0e8b68dc574d to your computer and use it in GitHub Desktop.
Highlight disabled functions in the Löve tables @ love2d.org/wiki
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Unrequited Löve | |
// @version 0.2 | |
// @description Highlight disabled functions in the Löve tables | |
// @author Doyousketch2 | |
// @match https://love2d.org/wiki/* | |
// @grant GM_info | |
// @grant GM_getValue | |
// @grant GM_setValue | |
// @grant GM_xmlhttpRequest | |
// @grant GM_registerMenuCommand | |
// @updateURL https://git.io/v9Vzv | |
// @require https://code.jquery.com/jquery-3.2.1.slim.js | |
// @license GNU GPLv3 - https://www.gnu.org/licenses/gpl-3.0.html | |
// ==/UserScript== | |
$('tr') .each(function( index ) { | |
if( $(this) .attr('data-love-version-removed') !== undefined ) { | |
$(this) .children('td') .attr('style', "padding: 1px 5px 1px 5px; background-color: #ffcccc; vertical-align: top;"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use this script with either GreaseMonky, or TamperMonkey.
https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/
https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo