Social Distance This for Me

Scroll to Begin

Instantly abide by the rules and go from this to this

A flexible, easy-to-add script for your website to enforce social distancing even on the web

So we can go from this
before-social-distancing
To this
after-social-distancing
If you have a keyboard...

Try it out now, type "stayhome" to toggle social distancing on this site

No visual cues or visible on-screen indicators by default— it's on you to spread the word and tell your users of the feature. I know we didn't plan for this and text input without visual feedback is hard, but I guess that's how social distancing is too

Adding the script file to your website is easy. Simply paste the following to your html file, right after </body>. Make sure the source is pointing to your downloaded file:

<script type="text/javascript" src="./social-distancer.min.js"></script>

Customization