From f18ef86b4d5f393d6e9ac4aa7257d9c2626f6f40 Mon Sep 17 00:00:00 2001 From: soyaine <12845017+soyaine@users.noreply.github.com> Date: Fri, 5 Jan 2024 16:28:55 +0800 Subject: [PATCH] remove console --- build/jocker.js | 5 ----- build/manifest.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/build/jocker.js b/build/jocker.js index f655348..e920679 100644 --- a/build/jocker.js +++ b/build/jocker.js @@ -95,9 +95,6 @@ class JockerCache { const content = node.content; const re = /#([\u4e00-\u9fa5]+)/g; // Matches Chinese characters within hashtags let match; - if (match) { - console.log('content', content, match); - } while ((match = re.exec(content))) { const topic = '🥥 ' + match[1]; this.addPostToTopic(node, topic); @@ -186,8 +183,6 @@ function loadPostsDefault(postsElem, nodes) { const postElem = document.createElement("div"); postElem.setAttribute("class", `post post-${jocker.currenLayoutMode} mode-${jocker._mode}`); - console.log(post); - if (jocker._mode === 'collection') { const userElem = document.createElement("a"); userElem.setAttribute("class", "p-user"); diff --git a/build/manifest.json b/build/manifest.json index 92d7335..1384213 100644 --- a/build/manifest.json +++ b/build/manifest.json @@ -1,7 +1,7 @@ { "name": "Jocker Extension", "description": "Jike Web Tool", - "version": "3.1.0", + "version": "3.1.2", "manifest_version": 3, "icons": { "256": "icon256.png"