If you are using Disqus for your blog's comment system
When viewing the page in an iOS Twitter client app and clicking on a link to an external site, it resulted in a blank page without transitioning properly.
Initially, I couldn't figure out the cause, but it seemed that the Disqus JS was the problem. (When Disqus JS is loaded, it attaches strange methods to the link event handlers)
Since I wanted to continue using Disqus, I decided to disable Disqus JS only when accessed from the Twitter client.
You can determine if the client is Twitter by checking the User-Agent. Here's a simple way to do it:
var isTwitter = navigator.userAgent.match(/Twitter/);
Comments