mirror of
https://gitee.com/bitdance-team/chrome-extension
synced 2025-01-11 14:18:26 +08:00
11 lines
326 B
JavaScript
11 lines
326 B
JavaScript
chrome.contextMenus.create({
|
|
id: 'bitdance',
|
|
title: '学生助手' //,
|
|
// onclick: function () {
|
|
// alert("[BitDance extension] 学生助手插件 - 已点击菜单")
|
|
// }
|
|
})
|
|
|
|
// chrome.contextMenus.onClicked.addListener(function (info) {
|
|
// alert('当前菜单信息:'+ JSON.stringify(info))
|
|
// })
|