Skip to content

Instantly share code, notes, and snippets.

@XtinaSchelin
Created July 31, 2020 01:40
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 XtinaSchelin/d5ad371548499e4fcabcd7fc79f367d1 to your computer and use it in GitHub Desktop.
Save XtinaSchelin/d5ad371548499e4fcabcd7fc79f367d1 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name AO3: Expand Work Tags
// @namespace https://xtinas.org
// @match *://*.archiveofourown.org/collections/*/works*
// @homepageURL https://gist.github.com/XtinaSchelin/d5ad371548499e4fcabcd7fc79f367d1
// @version 1.0.0.0
// @grant none
// ==/UserScript==
(function($) {
$(document).ready(function() {
if ( !$('body').hasClass('logged-in') ) { return; }
var $main = $( '#main' );
$(".expander").each(function() {
$(this).click();
});
});
})(window.jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment