Created
April 22, 2025 17:33
-
-
Save iregina/baee93fb48d7605780017f699a8037fd to your computer and use it in GitHub Desktop.
Disabling Zoom - Shopify MobileBridge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| document.addEventListener('DOMContentLoaded', (event) => { | |
| const meta = document.createElement('meta'); | |
| meta.setAttribute('name', 'viewport'); | |
| meta.setAttribute('content', 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, viewport-fit=cover'); | |
| document.getElementsByTagName('head')[0].appendChild(meta); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment