Skip to content

Commit 0e24b69

Browse files
authored
feat: add click to entry point (#125)
1 parent dd7078f commit 0e24b69

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/background.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
import { PLATFORMS, LOGIN_CHECK_CONFIG } from './platforms/index.js'
33
// [DISABLED] import { fillAlipayOpenContent } from './platforms/alipayopen.js'
44

5+
// 点击扩展图标时打开 md.doocs.org
6+
chrome.action.onClicked.addListener(() => {
7+
chrome.tabs.create({ url: 'https://md.doocs.org' })
8+
})
9+
510
// 当前同步任务的 Tab Group ID
611
let currentSyncGroupId = null
712
// 存储平台用户信息

0 commit comments

Comments
 (0)