forked from gleuch/STOP-SOPA-Blackout
-
Notifications
You must be signed in to change notification settings - Fork 0
STOP SOPA. Blackout your site to protest the SOPA bill!
fatlab/STOP-SOPA-Blackout
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
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 0
No packages published
Languages
- JavaScript 100.0%