Skip to content

Instantly share code, notes, and snippets.

@botmtl
Created October 26, 2017 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save botmtl/2d4034071b7d6a4f5a70b04ed0dc1f06 to your computer and use it in GitHub Desktop.
Save botmtl/2d4034071b7d6a4f5a70b04ed0dc1f06 to your computer and use it in GitHub Desktop.
// ==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