Skip to content

Instantly share code, notes, and snippets.

@jywarren
Last active Aug 10, 2020
Embed
What would you like to do?
A bookmarklet to make all pixel art crisp. https://bit.ly/pxlate Save as a bookmark URL and use the bookmark on any page to prevent anti-aliasing.
javascript:(function()%7Bdocument.body.style.imageRendering%20%3D%20(document.body.style.imageRendering%20%3D%3D%20%22pixelated%22%20%3F%20%22auto%22%20%3A%20%22pixelated%22)%3B%7D)()%3B
@jywarren

This comment has been minimized.

Copy link
Owner Author

@jywarren jywarren commented Aug 9, 2020

@jywarren

This comment has been minimized.

Copy link
Owner Author

@jywarren jywarren commented Aug 9, 2020

Original: document.body.style.imageRendering = (document.body.style.imageRendering == "pixelated" ? "auto" : "pixelated");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment