Skip to content

Instantly share code, notes, and snippets.

@doyousketch2
Last active May 6, 2017 11:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doyousketch2/f35dc3c4f80c6467bb8c0e8b68dc574d to your computer and use it in GitHub Desktop.
Save doyousketch2/f35dc3c4f80c6467bb8c0e8b68dc574d to your computer and use it in GitHub Desktop.
Highlight disabled functions in the Löve tables @ love2d.org/wiki
// ==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;");
}
});
@doyousketch2
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment