Skip to content

Instantly share code, notes, and snippets.

@lucasjones
Last active February 11, 2019 04:39
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 lucasjones/90cefb8e6fe98e79cb6922c2f85df092 to your computer and use it in GitHub Desktop.
Save lucasjones/90cefb8e6fe98e79cb6922c2f85df092 to your computer and use it in GitHub Desktop.
// ==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