Inspired by Gabriel Weinberg's strange fixation on stripping search queries from HTTP referrers, I thought it would be interesting to describe how to actually strip referrers from an HTTP Request. I don't think I've seen any good information on this elsewhere on the web. It's a neat trick, albeit marginally useful.
This doesn't in fact strip referrers at all, it just changes them so that the referrer sent to the destination page is simply http://duckduckgo.com/post.html. The query is gone, but the fact that you did a query and that you did so on Duck Duck Go isn't. I'd honestly suspect the fact that one uses Duck Duck Go to be more revealing about demographics than the query itself, but I digress.
You as a user can strip referrers by modifying your browser: [Chrome, Firefox, Opera, IE?, Safari?] What if you as a webmaster really want to strip the referrer for your users clicking on your links? That's a browser feature and as a webmaster you can't change your users' settings, you can't, right? Turns out that you can, but it's a pain in the ass because you need to do different things in different browsers.
Konqueror and Opera don't allow any of these tricks last I checked (it's been awhile), and for your various other browsers (phones mostly), all bets are off.
I don't really know why you would want to strip referrers as a webmaster. It literally is "breaking" the way browsers and the internet are supposed to work. I've used it occasionally for internal systems (like a control panel) where you don't want a referrer to expose the existence of an URL not usually accessible, but one can use obfuscation with a different URL in this case, as Gabriel does. Obfuscation is guaranteed to work in all browsers, and so is simpler to implement and maintain.