AdBlock Detection with JavaScript / jQuery Update
(Yo! This is an update to my Show a Message to AdBlock Users with jQuery / JavaScript post, which I don’t think works anymore!)
(Yo! This is an update to my Show a Message to AdBlock Users with jQuery / JavaScript post, which I don’t think works anymore!)
Here’s a quick and dirty way to lock people out of viewing your PHP site while you’re working on it. Put this in a base file or at the top of any page that you don’t want rendered. <?php if … Continue reading
I recently needed to convert some PSDs to HTML/CSS with pretty high accuracy, that is, the finished webpages needed to look very close to their original mockups. As is customary nerd style, I wrote some code to help me do … Continue reading
A common usability feature on a lot of sites is a “Back to top” link at the bottom of long pages, allowing users to quickly get back to the start of the document without scrolling. These are often built into … Continue reading
Hey! I’ve written another quick method to detect AdBlock that works better than this one, I think. I’m leaving this one for posterity. AdBlock is pretty much the best thing to ever happen to the internets. That being said, sometimes … Continue reading