Last active
February 11, 2019 04:39
-
-
Save lucasjones/90cefb8e6fe98e79cb6922c2f85df092 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 Hookpad scroll fix | |
// @namespace http://github.com/lucasjones | |
// @version 0.1 | |
// @description Fix scrolling on hookpad | |
// @author Lucas Jones | |
// @match http*://www.hooktheory.com/hookpad/app* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
console.log("Fixing hookpad scroll..."); | |
var style = document.createElement('style'); | |
style.innerHTML = | |
'.app-content {' + | |
'overflow-y: auto;' + | |
'}'; | |
var ref = document.querySelector('script'); | |
ref.parentNode.insertBefore(style, ref); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment