When integrating Pando on a web page, it is often helpful to know whether a user has Pando installed already or not (for example, to decide whether to use pando protocol URL prefixes like pando:subscribe). We track Pando's installed status using a browser cookie, but only pando.com domains can read this cookie. We made available an http redirect tool for detecting Pando's installed status. This worked but is a somewhat fragile and cumbersome to implement.
To make this more seamless, we added a method to our javascript API (PandoAPI.js) called hasPando to allow any web page to use javascript to modify the page depending on the status of the installed cookie. I put together a detailed example. Enjoy! Feedback is appreciated.
Recent comments
2 days 3 hours ago
4 days 42 min ago
4 days 44 min ago
1 week 2 days ago
2 weeks 6 hours ago
3 weeks 1 day ago
3 weeks 6 days ago
3 weeks 6 days ago
3 weeks 6 days ago
3 weeks 6 days ago