mirror of
https://github.com/Jonnyan404/memos-bber.git
synced 2026-04-25 03:58:37 +09:00
2023.03.09 新增右键发送文本至 Memos 输入框。
This commit is contained in:
@@ -8,6 +8,8 @@ Chrome 应用商店:<https://chrome.google.com/webstore/detail/memos-bber/cbhj
|
||||
|
||||
## 更新日志
|
||||
|
||||
2023.03.09 新增右键发送文本至 Memos 输入框。
|
||||
|
||||

|
||||
|
||||
2023.03.05 新增指定标签“仅自己可见”或“所有人可见”;图片上传文件名添加时间戳。
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
chrome.runtime.onInstalled.addListener(() => {
|
||||
chrome.contextMenus.create(
|
||||
{
|
||||
type: 'normal',
|
||||
title: '发送 “%s” 至 Memos ',
|
||||
id: 'Memos-send',
|
||||
contexts: ['all']
|
||||
},
|
||||
)
|
||||
})
|
||||
chrome.contextMenus.onClicked.addListener(info => {
|
||||
chrome.storage.sync.set({open_action: "save_text",open_content:info.selectionText});
|
||||
})
|
||||
+4
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "__MSG_extName__",
|
||||
"version": "2023.03.05",
|
||||
"version": "2023.03.09",
|
||||
"action": {
|
||||
"default_popup": "popup.html",
|
||||
"default_icon": "assets/logo_24x24.png",
|
||||
@@ -15,6 +15,9 @@
|
||||
"16": "assets/logo.png",
|
||||
"48": "assets/logo.png"
|
||||
},
|
||||
"background": {
|
||||
"service_worker": "js/background.js"
|
||||
},
|
||||
"permissions": [
|
||||
"tabs",
|
||||
"storage",
|
||||
|
||||
Reference in New Issue
Block a user