Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Drupal module that will automatically black out your site, in protest of SOPA and PIPA, on January 18, 2012
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Blackout your Drupal site on January 18, 2012 as part of the global anti-SOPA/PIPA protest! Politicians have reportedly backed down on SOPA, but PIPA still remains so best to proceed with the blackout. This module automates this via a quick hack. Your site will look like: http://mikecantelon.com/?sopa_test=1 Your site will work normally until January 18, but on January 18 you will only be able to access URLs starting with "user" and "admin" without seeing the SOPA blackout page. After January 18 your site will be back to normal. Developed for/tested with Drupal 6 or Drupal 7. Edit sopa.info and change to your preferred core version or: * D6: checkout 6.x-1.x * D7: checkout 7.x-1.x If you're new to GitHub here are some quick instructions: 1. Go to https://github.com/mcantelon/drupal-sopa-blackout/zipball/master 2. Unzip the resulting file and you should get a folder 3. Rename this folder to "sopa" 4. In the folder, edit the "sopa.info" file changing the Drupal version to match your version (6 or 7) 5. Put the folder in your sites/all/modules directory 6. Enable the module through the Drupal web administration interface Inspired by WP-SOPA-Blackout: https://github.com/chrisguitarguy/WP-SOPA-Blackout SOPA template from: http://www.zachstronaut.com/lab/text-shadow-box/stop-sopa.html Let me know if there's any problems with this version. -Mike