Havoc Button

If you copy and paste the below into the dev console on most #websites:

var script=document.createElement('script');
script.src='https://joshpowlison.com/wut/havoc-button.js';
document.head.appendChild(script);

You'll get a nice button in the top-left corner of the screen that reads "Havoc".

I needed to do something silly as a break from my serious work, so I made this. It adjusts the CSS of elements on the site at random so they get all wonky. You can click the button multiple times, and it can even affects its own CSS.

Have fun!

Posted 13 Feb 2019 by Josh