A WordPress plugin to automatically load either the modal or the banner Cat Signal when there is an active campaign from the Internet Defense League.
The Internet Defense League is an online activist group organized to defend your online freedoms. When a bill is threatening to pass that would inhibit the way you live your online life, they put up the Cat Signal, a way to collectively black out or put notices on a large number of websites simultaneously.
At first glance, it may appear that the plugin isn't doing anything because you don't have a banner or a modal window. Don't panic!!! What this means is that all is safe in Gotham and the Cat Signal has not been activated (read: there probably isn't an active IDL campaign running). To keep up to date on Internet Defense League campaigns, I recommend signing up for their mailing list (ed. note: I'm not affiliated with them at all, I'm just your friendly neighborhood internet activist). Once you're on the list, you'll get emails when they're about to launch a campaign.
So how do I know if it's working?
If you're savvy, you can check the HTML source of your site and check that either the
banner.js is loading. If it is, you're good to go, and the banner or modal window will work automagically when the IDL launch a new campaign.
If you're not as savvy, you can use the handy-dandy test link on the Cat Signal options page. This will display a banner or modal in the style of the actual alert while not actually displaying a pretty banner or graphic.
If you'd rather check manually, you can also add
?_idl_test=1 to the end of any page URL configured to display the alert and get the same test result.