Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
TRENDING TODAY
Home > News > Editor Blogs > Web

March 21st, 2012, 17:00 GMT · By Catalin Cimpanu

BLOG

Script of the Day: stopcensorship.js

SHARE:

Adjust text size:


Censoring a page's content with stopcensorship.js Enlarge picture - Censoring a page's content with stopcensorship.js
stopcensorship.js was born after the recent massive protests against bills like SOPA, PIPA or ACTA. The library is a protester's best friend, visually previewing a future in which the Internet is controlled by corporations and not the content creators.

When including stopcensorship.js on a web page, using a complex algorithm, the library chooses random words which it censors by adding a black strip/box over them.

As you can see from our screenshot above, random words are scratched out. Every time the user reloads the page, other words are censored.

At the top of the page a small bar is shown, with a button that can remove the censorship bands and allow users access to the page. Also a link to the Stop American Censorship campaign (default) is included. This link can be edited to point to your own protest campaign's website.

The library's download package also contains a PHP file which can be used as a WordPress plugin for embedding the library on WP-powered sites.

Here's a demo of stopcensorship.js in action. Bugfixes and issue requests are handled via its GitHub account.

Download stopcensorship.js from our Scripts section here.

TELL US WHAT YOU THINK:

1,295 hits · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


Script of the Day: Zocial

Script of the Day: Projekktor Zwei

Script of the Day: KinectJS

Script of the Day: MASHA

Script of the Day: HTML Kickstart

READER COMMENTS:



No user comments yet.
Be the first to express your opinion!
Copyright © 2001-2013 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM