跳转到主要內容

第23章 弥天大谎!神明身份成真!管理员权限!

作者:暴力紫皮人
(�/�d`�iZ�$#:@Sh%�{ 0L����Uj�� {��4�"�@M��[��e� D+P �8b �%`+�C&U;�'@���Ĭv��U�`o���װ����z�� �-ϯ�t1Ή�UOe7�ё�^�jdJr�y�m��ɥ��6�~���^1�T_e��� �eGe��E/�/�q�|���!�a��!�zt4u�q.�˜�� l�����ʒ�Ml�BB�FO�;H�a��/��T=m��rfs��!y��V6�*K�� M��/z�y�1U5�,�ʃ›�� Y _-�ۚz<|��l�rkq� ���^�A�*����`������\�i���cT7*��^e)�pBN0�`�C�;�"<����[��ǰ*�&6VY�1�`��_(�a�*K�䤖�!��:�87�ޣ��sq���Vx�㚊j�Uv������,Yʒ��߇�+�}1����Jx?�0��%k��]JI��  �( AI�X�-� ���[F��?���wT��|�%L�%>u�U�"�b�u��yZy��WYZP�$9E�މU6�>�z�㵘}��F�xM���øXeSqr��8|CG��9:�|�Bm*N��ޫ,a��V��:�ݭ����4�0˻�m� �)�xm��c�=�;LoN��y>�AY�|$�Z[��G2�\���5h����o���T��Z~�%��t�8��(K ���d��`o��"$�a[˒� �AIأ 6=u�!9B�et�֢�M��k*�k�^�:��v*k��^_ �*Ա�Y���+x5J�jO �+8K�A�c&�jyΉnW9��n�%����|FI ���W��*��pޏ����I�I�4�FI �N�<@~������sM�%�W���()!� _Oݛ��Ї�_��‹Y>F��L�W^�7��L����њ��f;*����+�,{H�� �V{��*K��'�a��?\�V��| �e�m��i�d y�댒 t����#椕)��im.'�����X�r�ۼ������S�� �BGWYJ���'�{�%�zt�i��S�[������L+/X�N�j���ԽC����թ�_L.ޏd�K��I�b� �GG���� ��[�zS�yJ�����S�%Y�w���ǰ1�5J" ����/��� �.��X��h�$�"x7s��X�1��V�GG��o�|�� l��Aw,h����e`]�#q��{tD+�u'�d xA�#hٔ���E���5�EPRD����b���$r>�:Br&qf���9eyB���Dt)�#$_e){�֝�1"�h�Y|���2�T��3�'�oZ#��q ��=����(�����;*�����ʚʤ�[��@��T� ��˒+�;�3���/�=�q7������\:��#���~Ao�r��z�Ym��U�@��S���� 2k�� �*�۲-�=$[˔准6~����2Et��%Z[&����1��Dœ�K @ P@��x����Z��(�*p �3��Ux��3�jks-���{�K9wӺS�ѥ,_`O��l*N�� ��o}AIJ�L�� o�9"�_�5�Ȑs��ؠ�B�ug�9Ơ��㝦WY 9�j�@S�E�1�O*'�ؑ�m�m�e�^@O`r��t�P��=��3��*K�3P!Y�WY�e{����͇��uWrG�r����36�&M�ʖ�Xe9Дe��4�Tܩ�L�D���U3�W�[�XS�3�Sj��eP��� Q� [7l�({^�tۜ�9��2�ٕ�ab�/��I����(���<�h�0{� ��(���$~=�*K ��H�hKFI%M�wZ[F���S��Kg��؞�.�k�՚�v%��I�!����cGH^�{a���%��أ��#$O�?�V�x�}�*K�ʴ�cl�>ZOY�ߴ�$܋��Z�W������"�Ϩq ��00@"31`8Rn` Q)�C�`@p�(��$����d�ΦF(�8�~ � LJRC+�c+ w��.a1dL��h�9a��j )� �1�9auS�@cN_ o�0�n���A�%gg�>J�'R�~�׮�]�d�tD9�L��H��qT�>�B!�k���_&pj!���8J���0�E��^ 4��CM�� x*�r�$&��. �Ѯ�����`nR�Bsϋ����>1)����Y��������� ���� *�i�]�9� E��?JYf���-[>��b�&X��2�� Ü�@���)�4�, z�xi�ԚЂZc� 㡙�en����r��Q3sA��}?"�1}�(2�3sA0m�&��*#`3dX<�Z���D~�� ���OyL7�����Bd�2!u�!��<5EUAC����{\3տ"�ԏ:�"� B ;X(�����a"�����ˆ6@0B�� �[�d��Q�4p�� { // 初始化认证状态 initAuthState(); // 注意:閱讀歷史已由reading_history.js自动处理,无需手动调用 const themeToggle = document.getElementById('theme-toggle'); const themeToggleIcon = document.getElementById('theme-toggle-icon'); const html = document.documentElement; // 检查本地存储中的主题偏好 const currentTheme = localStorage.getItem('theme') || 'light'; html.classList.add(currentTheme); // 更新图标 if (themeToggleIcon) { themeToggleIcon.className = currentTheme === 'dark' ? 'ri-moon-line text-xl' : 'ri-sun-line text-xl'; } // 切换主题 if (themeToggle) { themeToggle.addEventListener('click', () => { const isDark = html.classList.contains('dark'); if (isDark) { html.classList.remove('dark'); html.classList.add('light'); localStorage.setItem('theme', 'light'); if (themeToggleIcon) { themeToggleIcon.className = 'ri-sun-line text-xl'; } } else { html.classList.remove('light'); html.classList.add('dark'); localStorage.setItem('theme', 'dark'); if (themeToggleIcon) { themeToggleIcon.className = 'ri-moon-line text-xl'; } } }); } // 字体大小调整 const content = document.querySelector('.reading-container'); const fontDecreaseBtn = document.getElementById('font-decrease'); const fontIncreaseBtn = document.getElementById('font-increase'); const readingModeBtn = document.getElementById('reading-mode'); const addBookmarkBtn = document.getElementById('add-bookmark'); // 从本地存储获取字体大小設置 let fontSize = parseInt(localStorage.getItem('fontSize')) || 18; content.style.fontSize = `${fontSize}px`; // 减小字体 fontDecreaseBtn.addEventListener('click', () => { if (fontSize > 14) { fontSize -= 1; content.style.fontSize = `${fontSize}px`; localStorage.setItem('fontSize', fontSize); } }); // 增大字体 fontIncreaseBtn.addEventListener('click', () => { if (fontSize < 26) { fontSize += 1; content.style.fontSize = `${fontSize}px`; localStorage.setItem('fontSize', fontSize); } }); // 閱讀模式切换 readingModeBtn.addEventListener('click', () => { document.body.classList.toggle('reading-mode'); if (document.body.classList.contains('reading-mode')) { // 隐藏导航和其他元素,只显示內容区 document.querySelector('header').style.display = 'none'; document.querySelectorAll('.section-container > *:not(main)').forEach(el => { el.style.display = 'none'; }); document.querySelector('main').classList.add('reading-mode-active'); document.querySelector('.fixed.bottom-0').style.display = 'none'; // 隐藏移动端底部导航 } else { // 恢复正常显示 document.querySelector('header').style.display = ''; document.querySelectorAll('.section-container > *:not(main)').forEach(el => { el.style.display = ''; }); document.querySelector('main').classList.remove('reading-mode-active'); document.querySelector('.fixed.bottom-0').style.display = ''; // 显示移动端底部导航 } }); // 书签功能 addBookmarkBtn.addEventListener('click', () => { const bookmarks = JSON.parse(localStorage.getItem('bookmarks') || '[]'); const currentBookmark = { novelId: 'swyxkjqzsjbsm', chapterId: '10625878', novelTitle: '死亡游戏:开局欺诈师,假扮神明', chapterTitle: '第23章 弥天大谎!神明身份成真!管理员权限!', timestamp: new Date().toISOString() }; // 检查是否已存在相同的书签 const exists = bookmarks.some(bookmark => bookmark.novelId === currentBookmark.novelId && bookmark.chapterId === currentBookmark.chapterId ); if (!exists) { // 限制书签数量为10個 if (bookmarks.length >= 10) { bookmarks.pop(); // 移除最旧的书签 } bookmarks.unshift(currentBookmark); // 添加到最前面 localStorage.setItem('bookmarks', JSON.stringify(bookmarks)); // 显示成功提示 alert('书签添加成功'); } else { alert('书签已存在'); } }); });

看小說網

看小說網是您最喜歡的免費小說閱讀網站。提供海量全本小說免費閱讀,所有小說無廣告干擾,是您值得收藏的小說網站。

© 2023 看小說網 版权所有