Auto 2K Resolution

Try to set resolution to 2K on supported devices

Author
Shannon Turner
Daily installs
0
Total installs
28
Ratings
0 0 0
Version
0.1
Created
2024-06-11
Updated
2024-06-11
Size
732 Bytes
License
MIT
Applies to
All sites

This version uses a CSS media query to apply scaling only on devices that have a minimum width of 2560 pixels, which is more in line with responsive design principles. Also, it uses DOMContentLoaded to run the script earlier in the page load process