change webview content

change how the web view load its content to make it work correctly