Skip to content

fatlab/STOP-SOPA-Blackout

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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)

About

STOP SOPA. Blackout your site to protest the SOPA bill!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%