Last active
April 23, 2017 02:18
-
-
Save Lemmings19/f7713acf7f5ff10dc57707afd6912f75 to your computer and use it in GitHub Desktop.
Auto-expand Laravel's doc lists. Remove the ad.
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
// Add this to your browser with your favourite script addon/plugin and jQuery. | |
// They just did this annoying thing where they hide all the doc headings. | |
// How the hell am I supposed to CTRL+F on them now? | |
// May as well remove ads while we're at it. | |
// Auto-expand all doc listings. Haven't tested for negative side-effects. | |
$("h2").each(function () { | |
$(this).addClass("is-active"); | |
}); | |
// Hide the ad. | |
$(document).ready(function () { | |
$("#carbonads").remove(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment