モバイルか判定する
from /yosider-scripts/モバイルか判定する
code:script.js
export const isMobile = () => /mobile/i.test(navigator.userAgent);