1. A computer-executed method, comprising: communicating information indicating a communication method to a code being executed in a web browser session; and receiving, from the code being executed in the web browser session, contextual information associated with the web browser session via the communication method, thereby facilitating an application that is distinct from the web browser session to execute using contextual information inherited from the web browser session.