anarchy.js

A community-controlled Javascript object

Include

To include anarchy.js, paste this code into the <head> section of your HTML page. Don't worry, anarchy.js is filtered for XSS attacks and bad words.

<script src="https://anarchy-js.glitch.me/js/anarchy.min.js" defer></script>

Usage

anarchy.js uses the anarchy() or window.anarchy() function to run and return either a random or specified method.

anarchy(); // Runs a random anarchy.js method
var x = anarchy(); // Runs and returns a random anarchy.js method
anarchy.method(); // Runs a specific anarchy.js method (replace "method()" with your method)
var x = anarchy.method(); // Runs and returns a specific anarchy.js method (replace "method()" with your method)

Register

Anyone can add a method to the anarchy object. This method should have Javascript code which will run when a user calls the function:

anarchy.method()

To register, please fill out the form below.

Warning

Using bad words or XSS attacks in your code or name can get you banned.

Bookmarklet

To run anarchy.js on any site, you can drag this button to your bookmarks bar and click it on another site to run anarchy:

Top Methods

The most used methods are currently:

  1. ...
  2. ...
  3. ...
  4. ...
  5. ...