STOP SOPA. Blackout your site to protest the SOPA bill!
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 3 commits ahead, 5 commits behind gleuch:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
blackout.js
index.html

README

STOP SOPA/PIPA #000000-out
=============================

A protest embed. Blackout your website and ask your visitors to oppose bad legislation:

  If you love the Internet, call your Senator.
  Tell them you oppose SOPA and PIPA.

Users can dismiss the prompt and won't see it again.

Add it to your website
----------------------

<script type="text/javascript">
  var Stop_SOPA = {
    color : '#000000',
    promote : false
  };
  document.write('<scr'+'ipt src="//fatlab.github.com/STOP-SOPA-Blackout/blackout.js?v=1"></scr'+'ipt>');
</script>

Options
-------

* `color` can be a hex code, an rgb(), or rgba() format.
* `promote` adds a badge to the top-right of your page even after dismissing the initial dialog.
* more to come

License
-------

This source code is made freely available under an MIT license.

Authors
-------
* [@gleuch](https://github.com/gleuch)
* [@jamiew](https://github.com/jamiew)