Censortive
Tired of Internet censorship? Is your site being blocked for having "sensitive" words? Then Censortive is for you. Use this plugin to replace those pesky words with their graphic equivalent, making them invisible to censorship robots.
censortive.zip - Latest Version v1.0
Details
Censortive uses text-to-image technology to convert user-defined 'sensitive' words into an image file that blends right into the flow of text. By changing the text into an image file, you effectively negate the censorship robots from being able to 'see' the offending words. Your readers, however, will be able to follow what you're saying without a hitch.
In some countries Internet censorship is at an unjustified level, with a host of Big Brother technologies working to block one of our basic human rights: freedom of speech. The most common way for them to do this is by using bots to scan the text from a site attempting to be viewed. If words deemed inappropriate are found, the viewer is left with an error screen.
However, by converting the words into small (near-identical to the original text) graphic files, the robots have no idea what is being said and happily let it all pass through.
To further increase security, rather than have the sensitive words saved in the post and filtered directly, users simply use a codeword, which when scanned by the plugin, is replaced by the text2graphic image of the intended word.
Installation
- Unzip this compressed file to a temporary directory.
- Edit ‘/censortive/codewords.dat’ in a plain text editor (not Word). Look at the example words on how to add your own. Be sure to maintain the same format (codeword=realword,). Note the comma at the end of each line, including the last line. Save the file.
- Upload the 'censortive' folder to your '/wp-content/plugins/' directory – making sure to copy the entire folder, and not just the files, maintaining the folder’s directory structure.
- Activate the plugin through the 'Plugins' menu in WordPress.
- Navigate to your WordPress Options menu and select the new 'Censortive' option. Adjust the settings to suit your blog's style.
Example
This is an example of the plugin at work, for which we've used this Wikipedia entry. So now when I speak about ,
, or
; I don't need to worry about my site being shut down. Equally, if I want to write about
,
or the
, I can do so with impunity. I can also set up words that I wish to use both freely and covertly. Such as when speaking about China, or
.
Frequently Asked Questions
How do I mark words in my posts to be converted?
Simply enclose the codeword (as defined in 'codeword.dat') in [* and *]. So if my codeword was 'monkey', I would input [*monkey*] in my post. Upon viewing, [*monkey*] would be replaced with a text-image of whatever it is equal (=) to in the 'codeword.dat' file.
Can I use special characters, such as for other languages?
For characters with accents or tonal marks, it will largely depend on the font file you're using and if it supports the characters. For completely different characters, such as Chinese characters or Arabic writing, the answers are more varied. We'll be working on further functionality in this area in future releases, but currently it's not supported.
So, where do I get fonts then?
We've included one font, a Sans-Serif font in the Libertine family - which is an open source font initiative (download more). We don't distribute a large selection of fonts with the plugin, as they can be quite bulky, and vary greatly from blog to blog.
To make sure your text-to-images are most closely matched to your blog's content, just find out what TrueType font your posts are set to display at, and then search your computer for those .TTF files. Once found, simply upload the file to the wp-content/plugins/censortive/fonts/ directory and change the Font File setting in the Censortive options.
Known Bugs
- The bold thing. This is the largest thing standing in the way of total/seamless integration into the body text. Currently, when looking at the text-to-image words/phrases, it is immediately evident which have been changed. From a censorship standpoint, this isn't a big issue, as the phrases are still graphic files, and not actual words. However, it doesn't look as pretty as we'd like.
Support
Please leave questions in the comments section below, or e-mail us at the contact address above. This plugin is in 'beta' testing, so we do appreciate any feedback or comments you may have.
Terms & Disclaimer
This plugin is released under the GNU GPL and is 100% free. However, you are welcome to show your appreciation for the work we've put into this plugin by donating a couple bucks.
Censortive is only a tool for the furtherance of free speech, and it is not foolproof. We cannot be held liable if something you say with the use of this plugin gets you in trouble with "Big Brother". Please use it at your own risk.
Additionally, though we can not begin to imagine how, if the plugin pooches your server/blog/computer/toilet, we're not going to take responsibility for that either.
Thanks
Thanks is owed to Stewart Ulm, of Moderate Design, for creating the original text2image script used in this plugin.

fiLi
Good stuff.
July 13, 2007 @ 5:15 pm
Alex
What about accessibility? The union-for-people-with-screen-readers will be after you!
July 14, 2007 @ 2:33 pm
Ryan
Hey Alex, I’ve added an alt=”censortive word” attribute to the created image. That’s about as accessible as I can make it. Any alternative suggestions are welcome.
July 18, 2007 @ 1:13 pm
Lonnie
Using it in my latest post….works like a dream!!!!
July 26, 2007 @ 2:21 am
Damn The Censors! | A China Blog on Suzhou Expat Life | The Humanaught
[...] Unfortunately, the robots that govern the country I call home often see things differently. And so it is I am happy to announce my first WordPress plugin: Censortive [...]
July 26, 2007 @ 7:31 pm
A WP plugin to get around censorship | Lost Laowai China Blog
[...] Unfortunately, the robots that govern the country I call home often see things differently. And so it is I am happy to announce my first WordPress plugin: Censortive [...]
July 26, 2007 @ 7:33 pm
Shaun
One possibility would be to use ascii numbers. Unless the GFW interprets the ascii numbers into letters you should be set. Here is a sample (hopefully it shows up okay.)
Howdy
July 27, 2007 @ 12:57 am
Ryan
Hey Shaun, not a bad idea, though I think it’s a bit too risky, as it’s hard to say how/when the censorship robots see things. If they parse the HTML before censoring, it would negate the whole purpose of the plugin, as the text would then be seen clear as day.
I think for the small percentage of people who run into this problem on sites using this plugin, the “censortive word” thing should be enough to clue them into what’s going on.
July 27, 2007 @ 7:53 am
My First WordPress Plugin | Dao By Design Blog
[...] out the official Censortive page for all the details on how it works, how to install it, and where to get support. I’m still [...]
July 27, 2007 @ 12:27 pm
Elizabeth
Wow, this is a totally dreamy plug-in. Just installed it.
I’ve been living in fear of getting blocked since setting up my blog about a year ago.
Thanks so much for taking the time to make this plug-in!
July 27, 2007 @ 10:42 pm
China Now Weblog
[...] post info By chinanow Categories: GFW and Internet Tired of Internet censorship? Is your site being blocked for having “sensitive” words? Then Cens… [...]
July 29, 2007 @ 3:06 am
How Censortive are you? : 广州帮 | Guangzhou Bang
[...] is just a test of Ryan The Humanaught’s ingenious new WordPress plugin Censortive, for posting of ease of words [...]
July 29, 2007 @ 2:21 pm
fiLi
Tested, works fine.
Question – I would like for this plugin to automatically replace all existing sensitive words in all posts without having to mark them. Can you quickly adjust the plugin to meet that requirement?
The challenge would obviously be how to do this fast, as your preg_match_all for the pattern significantly reduces execution time.
Let me know what you think…
July 30, 2007 @ 2:47 am
Ryan
Hi fiLi, I’m not entirely sure what you mean. You mean, you want a predefined list of words to be replaced with the codeword tags, so as to be compatible with the plugin? Or you wish for the plugin to work by searching the post for specific words (unmarked) and then change them?
July 30, 2007 @ 12:22 pm
Global Voices Online » China: WordPress plugin subverts keyword filters
[...] McLaughlin, a very innovative blogger and long-term resident of China has just released Censortive, a WordPress plugin which converts words into images which fit seamlessly into your blog post, [...]
July 30, 2007 @ 12:36 pm
Saarbrigger Gedankewies » Blog Archiv » Mal anders betrachtet
[...] bringen können. Zum Beispiel in dem der Text als Grafik eingebunden wird. Hierzu gibt es sogar ein Wordpress-Plugin. Oder der kleine Umweg über Katzen-Content. Moralisch scheint das Ganze allenthalben [...]
July 30, 2007 @ 5:10 pm
SEO Blog » Blog Archive » Anti censorship plugin
[...] Censortive [...]
July 30, 2007 @ 10:50 pm
Digital Caribbean » Blog Archive » links for 2007-07-31
[...] Censortive | Dao By Design Blog “Censortive uses text-to-image technology to convert user-defined ’sensitive’ words into an image file that blends right into the flow of text. By changing the text into an image file, you effectively negate the censorship robots from being able to (tags: censorship plugins wordpress blogs freedomofspeech) [...]
July 31, 2007 @ 9:18 am
fiLi
Ryan – yeah, the second option. I don’t want to tag the words, I just want all the sensitive words replaced automatically by the plugin without me having to worry about anything. Just like smileys…
You think you can pull that off for me?
July 31, 2007 @ 10:55 am
Ryan
Hey fiLi, I’ve added it to the wishlist for v2 to have an option to choose between codewords or just search and replace.
It’s not difficult to do, but the obvious downside to the second method is that the words are still in your database and will be in the PHP-based URL that passes the variables. All of these allow for the possibility to cause blocking. I’ve been blocked from my MySQL database because of a bad keyword in it.
July 31, 2007 @ 12:30 pm
Gary McGath
An excellent and useful idea! But having the same “alt” text for every substituted word is a dead giveaway to filters that the post uses Censortive to hide words. Is that really a good idea?
August 1, 2007 @ 8:10 pm
Ryan
Good point Gary. Any suggestions on how to maintain the plugin’s integrity while also allowing for accessibility? The ALT tag was added in regards to Comment #2’s concerns.
August 1, 2007 @ 8:31 pm
feng37
Any luck with the Chinese text? I open up my codeword.dat just now and what was once Chinese is now cyber-Sindarin. Does that mean the problem is with MySQL?
August 3, 2007 @ 12:22 pm
Positive Liberty » Occasional Notes: Adversarial Edition
[...] privacy, equality, and of course censorship. Which brings me to… The Internet v. Censorship Censortive is a WordPress plugin that replaces the text of your blog posts with images of the same text to [...]
August 3, 2007 @ 7:02 pm
Peter
I backup fili’s idea. I had the same thought, but he/she was just faster than me. Anyway, can’t tell how this could be done best, so I’ll leave it to the eggheads and grab a nice cup of coffee while I wait for it to be done.
Bloody nice work Ryan!
August 15, 2007 @ 3:24 pm
The China Expat » There's another way to get around the Great Fire Wall of China
[...] Use this wordpress plugin. [...]
August 29, 2007 @ 6:51 pm
Feed 及其他 - 刀枪Blue
[...] Censortive,名字差点都不敢写……将指定的词语替换成图片输出。在老大哥有能力识别之前,还是有好日子过的。缺点?有些系统上识别不了那些该死的该被替换成图片的汉字。 [...]
September 1, 2007 @ 6:30 pm
Patrick
….I lived in China, and it seems all my US-hosted websites are blocked. In fact, many people with innocent websites are blocked here in China. It is affected our communication and business…does this prevent an already blocked site?
October 19, 2007 @ 6:16 am
Ryan
Hi Patrick, there are two reasons you site could be blocked.
A) It’s on an IP address that has been “hard” blocked. Ask your hosting company to change your hosting’s IP (they should be able to do this without too much trouble), and see if that helps. This block could have come from you or from anyone else that shares that IP – big hosting companies split their server space among 10s, 100s or 1000s of customers – if anyone one of those customers on the same IP as you is being blocked, it’ll cause your site to be blocked.
B) Your site’s content is the cause. As best I can figure, this “soft” blocking is done at the ISP level. When the user in a country that blocks sites access the “offending” site, the text of the page is first run through a filter. If a certain percentage of words are a match, the site is blocked. This block is where this plugin is effective. Though there is no released list of “hot” words, people in each country can guess which words might be causing them troubles and then use this plugin to substitute those words with images (unreadable by the ISP filter).
For your situation, I think you’re in the first boat – for whatever reason. See if your host can change your IP and see if that helps. If you’re in the second situation, I’m afraid this plugin wont be of much use, as it’s only for WordPress users.
October 19, 2007 @ 7:30 am
Troubles in China’s Wild West | Lost Laowai China Blog
[...] is on the WordPress platform, you may consider installing a plugin I developed a while back called Censortive. You can see it at work in this post. All the “sensitive” words that might get you in [...]
March 16, 2008 @ 6:15 pm
flotsam
maybe I’m missing something or not looking far enough but I can’t locate the wp-plugins on the new WordPress format.
May 2, 2008 @ 5:28 am
Ryan
Just for posterity, as I’ve already cleared this up with you in e-mail Flotsam, but the plugin will only work with self-hosted versions of WordPress – Wordpress.com doesn’t allow plugins (to the best of my knowledge).
May 5, 2008 @ 11:27 pm
jocuri
Very useful, thanks.
May 28, 2008 @ 11:06 pm
sean
Does an already blocked site, stay blocked forever? Has anyone had experience with the bots returning once the offending words removed?
July 11, 2008 @ 8:56 am
Ryan
@Sean: Generally no, but it depends “how” it was blocked. If it was just an automatic block brought on by keywords being picked-up and deemed sensitive, then if the words are removed, the block will eventually remove itself.
For a better understanding of how blocking works (in China at least), check out: Great Firewall of China: Explained.
July 11, 2008 @ 9:06 am
A bloody nice WP plugin | Bring on the Night
[...] This may be a solution [...]
July 23, 2008 @ 6:30 pm
Mutant Palm » Blog Archive » Chinese Fonts for the Censortive Plugin
[...] year, Ryan McLaughlin at DaoByDesign came up with a plugin called Censortive, which replaces sensitive keywords in Wordpress blog posts with image equivalents, thereby avoiding [...]
November 25, 2008 @ 10:55 am
qwan
Hi ryan,
This is a great plugin, thank you for the all the hard work.
I was just wondering if I could convert the entire post to image. Or parts of the post(like for example in the post has an image, then I am sure we would face problems converting an “image into an image”)
So that way instead of entering keywords all the time, I know that this entire post has tons of keywords which could get banned anywhere. So all I do is just convert the entire post or a part of it, to text.
Thank you
November 28, 2008 @ 2:55 am
ibonette
thank you wery much…
ibonette
December 2, 2008 @ 12:09 am
johny why
what a brilliant idea! but if it’s compatible with WP 2.7, please update wordpress.org plugins page– it only says compatible up to 2.3.
also, as qwan suggested, can you not convert the whole post into one big image, or every letter on the blog to individual images? that would simplify things for the blogger, because then they would not have to deal with code-words. might also improve help trip up phrase or contextual scanners.
also, could you make the alt words just random nonsense words, like ‘potato’, ‘ear’, ‘bicycle’? so scanners would not see “censortive” or any other recognizable word at all.
bravo!
January 2, 2009 @ 2:22 am
Bryan Neilon
Excellent work, I was on the verge of doing this exact thing myself (something far above my php-ing head) when I found your plugin.
I’m with fiLi– I would love to not have to mark sensitive words. Is it possible to first change the word in the database TO the codeword and then replace the codeword with the image of the realword? The original sensitive word is gone, leaving only the codeword for bots to find.
January 24, 2009 @ 9:00 am
Chinese block darn near everything ahead of Tiananmen Anniversary | A China Blog on Suzhou Expat Life
[...] Censortive: This is a WordPress plugin I created nearly two years ago that allows you to “tag” sensitive words in your posts, which will then be replaced by an image version of that word. This negates a censorship robot’s ability to scan the text of a blog post and block it based on keywords. [...]
August 31, 2009 @ 1:12 pm
20 Best Wordpress Typography Plugins To Enhance Readability | Wordpress
[...] Censortive [...]
October 24, 2009 @ 1:35 am
20 Best Wordpress Typography Plugins To Enhance Readability | Lunch Time Laugh
[...] Censortive [...]
October 24, 2009 @ 2:55 am
20 Best Wordpress Typography Plugins To Enhance Readability | Mac Bargains
[...] Censortive [...]
October 24, 2009 @ 7:19 pm
20 Best Wordpress Typography Plugins To Enhance Readability | Technology you can trust here...
[...] Censortive [...]
October 24, 2009 @ 9:42 pm
20 Best Wordpress Typography Plugins To Enhance Readability | Providing Value First
[...] Censortive [...]
October 25, 2009 @ 7:29 pm
20 Best Wordpress Typography Plugins To Enhance Readability | dunyaMeri
[...] Censortive [...]
October 26, 2009 @ 11:46 am
Why the Chinese Government Hates WordPress — Technology Liberation Front
[...] and Censortive, two plugins compatible with the most current versions of WordPress, are ingenious little bits of [...]
October 27, 2009 @ 2:36 am
If They Build a 15’ Wall, Bring a 20’ Ladder [anti-censorware] « The SiliconANGLE
[...] Liberation Front that detailed the latest in Wordpress-related anti-censorware gear: TextImage and Censortive, two plugins compatible with the most current versions of WordPress, are ingenious little bits of [...]
October 27, 2009 @ 5:42 am
20 Best Wordpress Typography Plugins To Enhance Readability | Fulldigi
[...] Censortive [...]
October 30, 2009 @ 6:21 pm
Mchiche.Com | Upgrade Your Mind ! » Typography 20 Best Wordpress Plugins pour améliorer la lisibilité
[...] Censortive [...]
October 31, 2009 @ 3:38 am
20 Best Wordpress Typography Plugins To Enhance Readability « AnaConda 4 Photoshop Blog
[...] Censortive [...]
November 4, 2009 @ 4:05 pm
20 Best Wordpress Typography Plugins To Enhance Readability « Blogoholics Anonymous
[...] Censortive [...]
November 5, 2009 @ 6:27 am
20 Best Wordpress Typography Plugins To Enhance Readability | Internet Marketing Tips and Strategy To Make Money Online
[...] Censortive [...]
November 9, 2009 @ 4:26 am
Wordpress Typography Plugins | techlogs - online resource
[...] Censortive [...]
November 27, 2009 @ 5:43 am
20 Best Wordpress Typography Plugins To Enhance Readability | Web Developer
[...] Censortive [...]
December 5, 2009 @ 2:03 am
20 test | yokozona
[...] Censortive [...]
January 26, 2010 @ 10:10 pm
20 Best Wordpress Typography Plugins To Enhance Readability Read more: 20 Best Wordpress Typography Plugins To Enhance Readability | Wordpress http://www.hongkiat.com/blog/20-best-wordpress-typography-plugins-to-enhance-readability/#ixzz0dzLIdd5e «
[...] Censortive [...]
January 29, 2010 @ 4:36 pm
20 Best Wordpress Typography Plugins To Enhance Readability « qeqnes | Designing. jQuery, Ajax, PHP, MySQL and Templates
[...] Censortive [...]
January 29, 2010 @ 4:57 pm