Last active
November 13, 2020 16:59
-
-
Save charagarlnad/82a8d67f7474b918c1ff41043486894a 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 Homestuck HTML5 Blur Fix | |
// @namespace https://gist.github.com/charagarlnad | |
// @match https://*.homestuck.com/story/* | |
// @grant none | |
// @version 1.0 | |
// @author charagarlnad | |
// @description disables anti-aliasing on homestuck html5 pages, making them much closer to the original flashes in appearance | |
// @icon https://www.homestuck.com/favicon/android-chrome-192x192.png | |
// ==/UserScript== | |
$(window).load(function(){ | |
if(typeof(handleComplete) === 'function'){ | |
let _handleComplete = handleComplete; | |
handleComplete = function(t, e) { | |
_handleComplete(t, e); | |
canvas.getContext('2d').imageSmoothingEnabled = false; | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment