We have to be Sssssssneaky!

Big surprise…

Here’s something interesting that’s come my way. Senator for Censorship Stephen Conroy has a blog, located at http://www.minister.dbcde.gov.au/. As is fashionable in these upstart, youngster blogs it has a tag cloud – over on the right – which displays the most common words and phrases used in said blog. All well and good.

Except you have a look at the source code. Here can be found a chunk of Javascript that generates the tag cloud, and which has a very interesting addition.

First up is a long string of phrases that can appear in the cloud. I won’t copy this in because it’s huge, but in the middle is the phrase “ISP Filtering” – the Government’s euphemism for their ridiculous net filter proposal. Further down is the code that adds up the totals for each keyword and prints out the 15 highest ranked…

for(var i=0; i<=15/*<-Important! increase this value by 1 everytime a keyword is excluded below*/; i++)
var z=0;
for(var j=0; j<split.length; j++)=”” {=””>
if (unique[i]==split[j]) {
counts[i] = z;
var size = getTagClass(z);
//Customise the tag-cloud to display what shows up
if (unique[i] == “ISP Filtering”)
document.write(‘<a class=”‘+size+'” href=”%5C%22http://www.minister.dbcde.gov.au/search?q=%27+unique[i]+%27%22″>’+unique[i]+'</a> ‘);

There, do you see that bit in red? That’s a neat little patch that prevents the phrase “ISP Filtering” from ever coming up in the cloud.

Fascinating no? The Government is filtering their own sites to prevent mention of their own web filter. Great work everybody!

Leave a Reply

Your email address will not be published. Required fields are marked *

Close Bitnami banner