Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Drop this into the console of any website. Generally the better the design, the less changes when you add this.
// instant site improver
import('').then(({populate, tag}) =>
tag('meta', {name: 'viewport', content: 'width=device-width, initial-scale=1'}, [],
tag('style', {}, `
* {
box-sizing: border-box;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-kerning: auto;
html {
-webkit-text-size-adjust: 100%;
body {
margin: 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.