Add functionality to CustomWebView.