Procedural Website Glitch Script

published:
2014.04.11
topics:
javascript
video

I wrote a little program in JavaScript that procedurally glitches out any website's HTML. It is fun to watch! My friend Floriaen put my script on his site. Go there and click the red "Glitch my website!" button in the top right corner.

The effect is also potentially quite dangerous on API driven sites, and so if you're crazy enough to try the script out for yourself, then please note:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.