Skip to content

Commit

Permalink
feat: hide the login modal
Browse files Browse the repository at this point in the history
  • Loading branch information
xupea committed Mar 22, 2024
1 parent 62972a3 commit 22ff4a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
9 changes: 6 additions & 3 deletions src/contentScript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
`,
)
}
})

0 comments on commit 22ff4a4

Please sign in to comment.