|
Removing the recommendation videos from Youtube after playback |
||||||||
You know when you watch a video on Youtube there are recommendations that follow it? Well you can turn those recommendations off if you want.
Here's how.
|
Why I've had a re-think about auto detecting mobile users |
||||||||
A while back now I wrote a short article on how to detect a mobile user by reading the user agent value from their browser (Link: http://www.mccran.co.uk/index.cfm/2010/6/4/Simple-Coldfusion-script-to-detect-if-a-user-is-on-a-Mobile-platform). I've since reversed my stand on doing this for a number of technical and User Experience based reasons.
This blog article is an exploration of those reasons.
|
Using URL hashes to control AJAX requests |
||||||||
Following on from my previous article here (http://www.mccran.co.uk/index.cfm/2011/10/17/Adding-hash-values-into-URLs--The-basics) this article deals with injecting Hash values into URL's and using them to power AJAX requests.
Starting with the code of the previous article I'll expand it to include an AJAX request based on the Hash inserted into the URL.
|
Adding hash values into URLs - The basics |
||||||||
Building a site that uses AJAX to Asynchronously import content into it? You can take advantage of the URL hash value and some of the functionality it gives you.
By inserting a hash character into the URL you can pick up the string following it and use it as a value in AJAX requests. Also you can create a listener event to check for a hash being added to a URL and use that to activate your custom JavaScript.
This blog entry is an intro to this process, where we deal with adding the hash value into a URL.








