I've had a little referer spam, not a lot, but enough to make me want a fix on hand in case it gets out of hand.
So I updated my refererLib so that it can check the page given as a referer and make sure that a link to the current page is on that page before allowing the page into the referer log.
This requires an extra round trip page request in order to function, so don't turn it on unless you need it (it's off by default). It flushes content before doing this, so if you put it at the bottom of your page, it should minimise the perceived wait your users have.
wired magazine article about referer spam.
refererLib:
description/demo |
source |
download