Google in the latest Chrome beta release, made available two new experimental extension APIs, that allow extension and application authors integrate more closely with the user’s browsing experience:
- Web Navigation Extension API allows extension developers to observe browser navigation events. These events fire both for top-level navigation and in-page navigation. The API therefore allows an extension to keep track of exactly what page (or section thereof) the tab is showing, and how the user got there. “We foresee a number of use cases for this API, including extensions that gather and present statistical or benchmarking data, safe-browsing extensions, and developer tools.”
- Proxy Extension API closes one of our most popular feature requests, allowing users to configure Chrome’s proxy settings via extensions. Proxies can be configured for the entire browser or independently for regular and incognito windows.
Configuration options range from setting a single proxy server to installing remote or even local PAC scripts. A sample extension demonstrates these capabilities.
To try out these new APIs, please go to about:flags and enable “Experimental Extension APIs”. To protect users’ privacy, when these APIs reach the stable channel, extensions that use them will need to request explicit permission from users.