Is there any decent quality anti-SOPA javascript I can add to my sites on the 18th?
January 14, 2012 3:57 AM   Subscribe

Is there any quick'n'easy anti-SOPA javascript I can add to my site's HTML to protest on 18th Jan? Crucially it must contain a concise description of the dangers of SOPA, and shouldn't assume an American audience (i.e. "contact your representatives"). I'm aware of WordPress plugins but that's NOT what I'm looking for.

All I can find is the following, which is pretty poor quality (and also hard to read thanks to grey text):
posted by humblepigeon to Computers & Internet (5 answers total) 1 user marked this as a favorite
If you plan to make your site unavailable, the simplest thing you could do is probably a JavaScript redirect to whatever site you think explains the issues best:

window.location = ""; // or whatever

posted by weston at 5:25 AM on January 14, 2012

Best answer: There is this code, hosted on Github. Simple JS which looks for the local date and if it is 1/18/12, changes the body to display a message about SOPA.

If the content isn't exactly what you are looking for, the script could be updated fairly easily, once saved to your server.
posted by tommccabe at 9:12 AM on January 14, 2012

SOPA Blackout JS Utility
posted by Artw at 11:39 AM on January 14, 2012

Response by poster: Read the original message, Artw.
posted by humblepigeon at 12:43 PM on January 14, 2012

Response by poster: I took the code tommcabe mentioned and adapted the message and links so they point to the EFF page, and also explain that it's an issue for American citizens to solve. Thanks all.
posted by humblepigeon at 12:54 PM on January 14, 2012

« Older Car accident and uninsured, complicated situation....   |   Getting a US credit card as an expat Newer »
This thread is closed to new comments.