Skip to content

Instantly share code, notes, and snippets.

View slavingia's full-sized avatar

Sahil Lavingia slavingia

View GitHub Profile
@slavingia
slavingia / gist:1636854
Created January 19, 2012 00:51 — forked from gkoberger/gist:1636822
SOPA.js
/* Created by Sahil Lavingia
http://sahillavingia.com/ */
$(function() {
function alphaNumericCheck(theChar) {
return ! ((theChar < 48) || (theChar > 122) || ((theChar > 57) && (theChar < 65)) || ((theChar > 90) && (theChar < 97)));
}
function censor() {
var color = $(this).css('color'),