A demo of how Privoxy can be used to block all websites using only JavaScript.
(Tested on Firefox 2.0.0.9)