mirror of
https://gitee.com/bitdance-team/chrome-extension
synced 2025-10-08 00:45:13 +08:00
添加右键菜单
This commit is contained in:
@@ -1 +1,11 @@
|
||||
console.log("[BitDance extension] 学生助手插件已启用")
|
||||
chrome.contextMenus.create({
|
||||
id: 'bitdance',
|
||||
title: '学生助手' //,
|
||||
// onclick: function () {
|
||||
// alert("[BitDance extension] 学生助手插件 - 已点击菜单")
|
||||
// }
|
||||
})
|
||||
|
||||
// chrome.contextMenus.onClicked.addListener(function (info) {
|
||||
// alert('当前菜单信息:'+ JSON.stringify(info))
|
||||
// })
|
Reference in New Issue
Block a user