Cat Signal

Saving all the internets

Last year, there was a thing called SOPA and a thing called PIPA and these things were bad and basically said that the way you do the things you do on the internet need to change dramatically. They were both written by a bunch of guys who have no real idea of how the internet works. The internets came down hard in protesting both bills and ultimately they got thrown out and in the wake of this, the Internet Defense League was born so that, if and when these things that inhibit our internet freedoms rear their heads again, we’ll be ready to stage another protest. And so they built a tool that hooks into a small javascript you can put on your site that will automatically display a banner or a modal window when there is an active campaign. At some point, Matt posted that he’s a supporter and WordPress is listed as one of the participating members.

I had added this to my site once before, the last time this came around, but — as anyone who’s made changes to their theme without first creating a child theme can relate — there have been updates to the theme in the meantime and those changes have since been lost. Because I didn’t want to deal with this again, I searched for a plugin to load the javascript and was surprised to find nothing. So, I wrote this plugin. Cat Signal has a simple admin page where you can choose the modal or the banner, and you can leave it on and whenever the IDL puts up the Cat Signal, you’ll automatically be participating, you don’t need to worry about changing anything. It doesn’t seem to conflict with any minifying plugins or caching, but if you have a problem leaving a javascript on your site that’s not being used, you can deactivate it in between campaigns. If you do that, though, you should sign up for their mailing list, so you’ll get an email right before a campaign is launched.

I also sent an email to the IDL, because I thought they might think it was cool and a linkback to the page might help spread the word and make it easier for WordPress users (and there are a lot of us) to participate without having to hack our themes, and (not to toot my own horn or anything) it was apparently pretty well-received.