Reverse SOPA/Protect IP

Currently there are two bills now pending in Congress—the PROTECT IP Act of 2011 (Protect IP) in the Senate and the Stop Online Piracy Act (SOPA) in the House. Both must be stopped.

The purpose of this plugin is to act as a reverse blacklist, by blocking access to a website that uses this plugin. The options of this plugin can provide a blacklist of specific IP’s that have been determined to belong to supporters of SOPA and/or Protect IP as well as the option to block all visitors to the website.These options can be controlled by the installer of this plugin.

This plugin needs your help!

Have you emailed a company or politician that is in support of SOPA/Protect IP or do you work for a company that supports SOPA/Protect IP?

This plugin needs help in collecting IP addresses of known supporters.

How can I provide IP Addresses?

If you have emailed a company or politician in support of SOPA/Protect IP then you can possibly collect the senders IP address from the email headers. Read here to display the IP address of the email sender.

Once you have the IP address, please provide me with the IP address. A screenshot of the email header data, would also be helpful too.

Promote this plugin!

To get maximum exposure, please help me promote this plugin. Tell your friends, coworkers, Facebook/Twitter followers and more. Twitter and Facebook Buttons are available at the top right for your convenience. Thank you!

Demo

To view a demo of this plugin blocking a page, click here.

Tested in: Firefox, Safari, Chrome, Internet Explorer 6, 7, 8, 9, Opera 11.

Usage

How the plugin works: Right now, it is a JS file and you include it as a JS file in your sites footer. The JS file is actually a PHP file that looks at the visitors IP and compares it to the IP’s in the database for a match. The HTML displayed will be updated with new information/links/etc as they come in.

Simple Blocking: Blocks users whose IP has been identified as a SOPA supporter.

<script type="text/javascript" src="http://reversesopa.codelabs.ca/reversesopa.js"></script>

Complete Blocking: Blocks all users regardless of IP. (add block=all to the URL). Or you can take the code in this file and host it on your own server.

<script type="text/javascript" src="http://reversesopa.codelabs.ca/reversesopa.js?block=all"></script>

Credits