Skip to content

MikeSofaer/stop_censorship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#SOPA

We don't like it.

##What you can do

Put your site on CloudFlare and then add the Stop Censorship application

###What if I'm not on CloudFlare?

To test it out, use the bookmarklet on the main app page:

http://mikesofaer.github.com/stop_censorship

If you want to support the efforts to stop American censorship, add this to your page:

<script type="text/javascript"> var CloudFlare = CloudFlare || []; </script>
<script type="text/javascript" src="//ajax.cloudflare.com/cdn-cgi/nexp/cloudflare.js" async></script>
<script type="text/javascript">


    var censorshipConfig = {

        "twitterHandle" : null, // Your Twitter handle; if not provided, your website domain will be used.
        "position_x" : "right", // Badge position - right or left
        "selector" : "p, h1, .censor_me" // Optional selector for elements to censor. Remove for default.
        "persistant" : true, // If true, page will always show black bars; if false, it will only show them on the first visit

    }

    var a=window.CloudFlare;a.push({paths:{stop_censorship:"//ajax.cloudflare.com/cdn-cgi/nexp/apps/"}});a.push(function(b,c){c("stop_censorship/config",function(){return censorshipConfig});b(["stop_censorship"])});

</script>

Contributing

This is public domain software. Submitting a patch involves releasing your patch to the public domain

Releases

No releases published

Packages

No packages published