-
-
Save git2358/0ee0b382876b5b06bee371c5cc7636dd to your computer and use it in GitHub Desktop.
Pixelate images bookmarklet; disables zoomed image smoothing.
This file contains hidden or 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
| javascript:(_ => { | |
| const sheet = document.createElement('style'); | |
| sheet.innerHTML = 'img { image-rendering: pixelated; }'; | |
| document.head.appendChild(sheet); | |
| for(let i = 0; i < frames.length; ++i) { | |
| frames[i].document.head.appendChild(sheet); | |
| } | |
| })() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment