How can I intercept API calls made by the web application? For example, how can I know the web site uses native file system api and intercept its function when user invokes