Skip to content

Commit 22ff4a4

Browse files
author
xupea
committed
feat: hide the login modal
1 parent 62972a3 commit 22ff4a4

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "clean-csdn",
33
"displayName": "Clean CSDN Blog",
4-
"version": "1.0.6",
4+
"version": "1.0.7",
55
"author": "Peter Xu",
66
"description": "Just make csdn blog as clean as it should be",
77
"type": "module",

src/contentScript/index.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,12 @@ chrome.storage.sync.get(['hideLogin'], function (result) {
5050
if (hideLogin) {
5151
injectCSS(
5252
`.passport-login-tip-container {
53-
display: none !important;
54-
}
55-
`,
53+
display: none !important;
54+
}
55+
.passport-login-container {
56+
display: none !important;
57+
}
58+
`,
5659
)
5760
}
5861
})

0 commit comments

Comments
 (0)