I am trying to use javascript to get the width and height of the build window in the webbrowser, but I can not find the correct method, at the moment the DOM is not aware of changes in the zoom level.
thanks
you can try:
DisplayMetrics metrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(metrics);
metrics.width - wide screen metrics.height - screen height
Source: https://habr.com/ru/post/1299423/More articles:Exiting with java.net.Authenticator - javaWhen to include .lib and when to include .dll or both - dllDifference between * .a and * .dll on Windows - assembliesHow to convert Delphi TPageControl tab index to page index? - delphimysql never releases memory - mysqlWhy does WCF need DTC for transaction flow? - .netPe editing library? - c ++How to get properties file from / WEB -INF folder in JSF? - propertiesProblem with iPhone control panel icon - iphoneLimiting text fields in Java - javaAll Articles