Stop people hotlinking your pics

Don’t you just hate it when you see your photos or hand crafted graphics popping up on other people’s sites?

Well you can’t do much about people copying those kind of files and hosting them on their own site, but we certainly can stop them just lifting everything and using things that are hosted on your server – or ‘hotlinking’ as it’s called. [Read more…]

History.back() – Problems With Chrome and Safari

Had a bit of an issue today with our old friend history.back(). This works fine in IE + FF:

<a href=”#” onclick=”history.back();”>Back</a>

But doesn’t seem to want to play in Chrome or Safari. So I tried to tidy up the code and be a little more strict:

<a href=”#” onclick=”window.history.back(-1);”>Back</a>

But still noy joy. In the end I went for this: [Read more…]