Каталог файловtilda-zero-shared.module.js
301 302 if (typeof window.t396__clientRectIncludesZoom === 'undefined') {303 window.t396__clientRectIncludesZoom = t396__doesClientRectIncludeZoom();304 }305 306 const isFirefox = window.navigator.userAgent.match(/Firefox\/([0-9]+)\./);307 const firefoxVersion = isFirefox ? parseInt(isFirefox[1], 10) : 126;308 const chromeMatch = window.navigator.userAgent.match(/Chrome\/([0-9]+)\./);309 const chromeVersion = (chromeMatch && parseInt(chromeMatch[1], 10)) || 0;310 const clientRectIncludesZoom = chromeVersion > 127 || window.t396__clientRectIncludesZoom;311
История файла и сравнение версий
window.isOnlyScalable = firefoxVersion < 126;
313 window.shouldUseScaleFactor = !window.isOnlyScalable && !isFirefox && !clientRectIncludesZoom;