Auto 2K Resolution

Try to set resolution to 2K on supported devices

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
Shannon Turner
1日のインストール数
0
累計インストール数
33
評価
0 0 0
バージョン
0.1
作成日
2024/06/11
更新日
2024/06/11
大きさ
732バイト
ライセンス
MIT
対象サイト
すべてのサイト

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