I found some reference and example which can be used to build an WD_** function which will give current zoom ratio. https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio#example https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio#monitoring_screen_resolution_or_zoom_level_changes Here are an interesting examples: https://stackoverflow.com/questions/16541676/what-are-best-practices-for-detecting-pixel-ratio-density Just simple it is a need to che