Skip to content

Commit

Permalink
chore: 增加调试信息
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Apr 4, 2024
1 parent a0d809c commit fdf08ee
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion external.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,12 @@
// 入口函数
window.addEventListener("load", () => {
checkFirstRun();
console.log("locals");
console.log(
"autoRead",
localStorage.getItem("read"),
"autoLikeEnabled",
localStorage.getItem("autoLikeEnabled")
);
if (localStorage.getItem("read") === "true") {
// 检查是否正在导航到下一个话题
if (localStorage.getItem("navigatingToNextTopic") === "true") {
Expand Down
7 changes: 6 additions & 1 deletion index_passage_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,12 @@
// 入口函数
window.addEventListener("load", () => {
checkFirstRun();
console.log("locals");
console.log(
"autoRead",
localStorage.getItem("read"),
"autoLikeEnabled",
localStorage.getItem("autoLikeEnabled")
);
if (localStorage.getItem("read") === "true") {
// 检查是否正在导航到下一个话题
if (localStorage.getItem("navigatingToNextTopic") === "true") {
Expand Down

0 comments on commit fdf08ee

Please sign in to comment.