Created
October 26, 2017 21:29
-
-
Save botmtl/2d4034071b7d6a4f5a70b04ed0dc1f06 to your computer and use it in GitHub Desktop.
This file contains 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 botmtl | |
// @namespace botmtl | |
// @description literotica sort/filter tables | |
// @match https?:\/\/(www)?.literotica.com/.* | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js | |
// @require https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.16/js/jquery.dataTables.min.js | |
// @resource customCSS https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.16/css/jquery.dataTables.css | |
// @grant GM_addStyle | |
// @grant GM_getResourceText | |
// ==/UserScript== | |
var newCSS = GM_getResourceText ("customCSS"); | |
GM_addStyle (newCSS); | |
$(document).ready(function() { | |
$('table').DataTable(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment