Hacker Newsnew | comments | show | ask | jobs | submit login

We tried to do that with http://sopablackout.org. Granted, this drop shadow implementation will get people's attention more, but we wanted to focus on allowing people to learn why the site is blocked.

I think this is the method I plan on using and offering to my customers. It will get the point across and still allow them to function.


So I don't have to change the sites manually I check the date. Here is a snippet of php code to check the date and only include your .js on Jan 18, 2012:

<? if(date("Ymd")=="20120118") echo '<script type="text/javascript" src="hxxp//js.sopablackout.org/sopablackout.js"></script>'; ?>

Note: replace hxxp with http.


Needs timezone support.


I made an overlay version of the spotlight effect that still allows the site to function, if you like the effect but don't like the total blackout: https://github.com/nitrogenlogic/stop-sopa (there's also a nice dark version available in the dark branch).

Preview of an actual page with the overlay: http://www.nitrogenlogic.com/sopaindex.html


Applications are open for YC Winter 2016

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact