不過為了方便我還是會用到jQuery,再來這次要運用js-cookie 這款插件簡化 ... <script> var dark = Cookies.get('dark'); if (dark === "on") ...
確定! 回上一頁