Patent ID: 8826298

Claim:
A method comprising: intercepting a scripting function call at an object within a browser which is executing on a client, the client being implemented at least partially in hardware, the scripting function call being generated by a web-based client-server application that is executed via the client, and the scripting function call being directed to a primary resource that is external to the client, the client being connected to the primary resource via a network; determining whether to redirect the scripting function call to an alternate resource, determining whether to redirect the scripting function call including: determining, via a first communication layer of the client, whether the primary resource is reachable via the network; redirecting, via a second communication layer of the client, the scripting function call to the alternate resource when the primary resource is unreachable via the network, the second communication layer being different than the first communication layer; and forwarding, via the first communication layer, the scripting function call to the primary resource when the primary resource is reachable via the network.