Browse Prior Art Database

JavaScript hook for tab reuse

IP.com Disclosure Number: IPCOM000232274D
Publication Date: 2013-Oct-29
Document File: 2 page(s) / 44K

Publishing Venue

The IP.com Prior Art Database

Abstract

Disclosed is a method, incorporated into Web applications, that allows applications to handle navigation events in a manner specific to the application, rather than allowing browser-specific behavior that might be inappropriate. The approach is to provide a JavaScript* method in the Document Object Model (DOM), which Web applications can hook, that notify the applications of attempts to navigate to a new Uniform Resource Locator (URL).

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 51% of the total text.

Page 01 of 2

JavaScript hook for tab reuse

Some Web applications are limited to a single instance running in a user's browser. Reasons for this vary: the application (app) is intended to prevent a user from modifying the same resource in multiple editors, ease of use, or the app is set to maintain the view state.

Current solutions include:


• Browser-specific plugins that limit the number of tabs open on a single Uniform Resource Locator (URL)


• Default browser behavior (e.g., allowing the same resource to be opened in multiple sessions)


• Creating special "Web app" binaries that are installed into browsers that run with elevated permissions

The core idea of the invention is to incorporate a method into Web applications that allows applications to handle navigation events in a manner specific to the application, rather than allowing browser-specific behavior that might be inappropriate.

The approach is to provide a JavaScript* method in the Document Object Model (DOM), which Web applications can hook, that notify the apps of attempts to navigate to a new URL (by following links, launching a new browser instance, or entering a URL into the address bar). When navigation occurs, the application is consulted to see if it can handle the event. If so, then the tab containing the Web application gains focus, and then the application automatically updates.

In a preferred embodiment, to implement the invention within the Web application:

1. The user navigates to the Uniform Resource Identifier (URI) containing a Web application (WA)

2. The browser loads the WA's resources. In the WA's page load, it calls the JavaScript function registerOtherSessionUriOpen(), passing a callback method and a list of URIs for monitoring. Those URIs are in the monitored set.

3. At some point in the future, a navigation event occurs in anoth...