I’m using the Twitter embedded Timeline Widget on the login page for a single-page Backbone application. When the user logins in, I change the page via Backbone routing and the Twitter widget is no longer displayed. However, if you look at the Network panel of the browser developer tools, there are requests to http://syndication.twimg.com/widgets/timelines/paged/… every 15 seconds or so. How can I stop these requests?
If I delete window.twittr, I get 6 “Uncaught ReferenceError: twttr is not defined” errors from timeout callbacks…which works, but doesn’t seem very clean. Is there a better way?