A BOZO FILTER for a Web page
There is no such thing as bad publicity
or so the common (commercially-driven) adage goes.
Yet, for some of us, an adage is not equivalent to a truism.
Mirsky endorses this page by asserting that it is
a BAD idea.
Thank you, Mirsky for helping me to make my point.
Mirsky has attempted to circumvent the application of this filter by asking his readers to copy the URL for a page into the Open Location dialogue box and calling it from there. This has now been blocked by the simple expedient of disallowing access unless the request comes from an identifiable page.
The Web is so open that information made available to one group is immediately available to all, independent of its relevance to the broader community. And while few of us would choose to limit the access to information to those who are honestly interested, it remains that there are visitors who range from the uncouth to the predatory. Like the politician who occasionally experiences an unwelcome endorsement, there will be pages which receive visitors through unwelcome links. I will leave it to your imagination as to what sort of pages you might not appreciate posting links to your page.
I created a page, called filter, which has a bozo filter installed which prevents this present page (which servers as the bozo page) from branching to it. You are kicked back here (with a message telling you what is happening), if you try to branch from here to the page, filter.
On the other hand, the page filter does not block the page called friend. So you can branch to filter from the page friend.
Try it and see the difference.
It is easy to implement. Copy the script below and past it onto your own page. It should be placed between the line which says
and the one which says
Then edit the following lines:
- the one which specifies the number of URL bozos you wish to block,
e.g., var numb =4
- the ones specifying the (absolute) URLs themselves,
e.g., bozo = "http:// ....".
Add as many as you wish (incrementing the number), but make sure the total number is the same as the numb variable.
The script to be copied and pasted follows:
If you wish to guard against incursions from one of the most predatory creatures on the Web, you might want to know that Mirsky uses three different addressess:
so you should guard against all three, as in the example above.
Send any comments or suggestions to the author at:
Alistair B. Fraser | firstname.lastname@example.org