Skip to content

Instantly share code, notes, and snippets.

@6220119
Created March 14, 2020 16:40
Show Gist options
  • Save 6220119/9115292c109d135353dc8177c3d9e39f to your computer and use it in GitHub Desktop.
Save 6220119/9115292c109d135353dc8177c3d9e39f to your computer and use it in GitHub Desktop.
Toggling AA modes Bookmark
javascript: (function(w) {
document.documentElement.insertAdjacentHTML(
"beforeEnd",
`<style>*{will-change:auto!important;-webkit-font-smoothing:${
["none", "antialiased", "subpixel-antialiased", "auto"][
(w.$$aamode = (++w.$$aamode | 0) % 4)
]
}!important;}</style>`
);
})(this);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment