| CPC G06F 21/629 (2013.01) [G06F 9/542 (2013.01)] | 4 Claims |

|
1. A method for enabling a web browser extension to perform an asynchronous blocking operation, the method comprising:
configuring a web browser to receive from a web browser extension an extension-provided callback function and an indicator,
wherein the extension-provided callback function is configured to perform an asynchronous blocking operation,
wherein the indicator indicates that the extension callback function relates to the asynchronous blocking operation,
wherein the extension-provided callback function is configured to receive a web-browser-provided callback function as a parameter of the extension-provided callback function, and
wherein the extension-provided callback function is configured to call the web-browser-provided callback function after performing the asynchronous blocking operation; and
configuring the web browser to call the extension-provided callback function with the web-browser-provided callback function as a parameter of the extension-provided callback function call if the indicator indicates that the extension callback function relates to an asynchronous blocking operation.
|