forked from gleuch/STOP-SOPA-Blackout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
37 lines (27 loc) · 913 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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)