diff --git a/package.json b/package.json index 70ce674..24cc0bf 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "clean-csdn", "displayName": "Clean CSDN Blog", - "version": "1.0.6", + "version": "1.0.7", "author": "Peter Xu", "description": "Just make csdn blog as clean as it should be", "type": "module", diff --git a/src/contentScript/index.ts b/src/contentScript/index.ts index ef00b89..1e2475c 100644 --- a/src/contentScript/index.ts +++ b/src/contentScript/index.ts @@ -50,9 +50,12 @@ chrome.storage.sync.get(['hideLogin'], function (result) { if (hideLogin) { injectCSS( `.passport-login-tip-container { - display: none !important; - } - `, + display: none !important; + } + .passport-login-container { + display: none !important; + } + `, ) } })