Skip to content

Instantly share code, notes, and snippets.

@charagarlnad
Last active November 13, 2020 16:59
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 charagarlnad/82a8d67f7474b918c1ff41043486894a to your computer and use it in GitHub Desktop.
Save charagarlnad/82a8d67f7474b918c1ff41043486894a to your computer and use it in GitHub Desktop.
// ==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