Adding custom html code to Android Webview

I am rendering a website that is not mine and has lots of server side scripts (so I cannot save it as the used html page). I want my Android web browser to also execute this HTML code.

<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> 

Is there any way to insert it?

+5
source share
1 answer

You cannot call the download url containing the html code. See DOM Manipulation here.

+2
source

Source: https://habr.com/ru/post/1236738/


All Articles