Optimized code for all webviews