mirror of
https://github.com/Jonnyan404/memos-bber.git
synced 2026-04-25 03:58:37 +09:00
2023.03.19
This commit is contained in:
@@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
Chrome 应用商店:<https://chrome.google.com/webstore/detail/memos-bber/cbhjebjfccgchgbmfbobjmebjjckgofe/>
|
Chrome 应用商店:<https://chrome.google.com/webstore/detail/memos-bber/cbhjebjfccgchgbmfbobjmebjjckgofe/>
|
||||||
|
|
||||||
一个通过浏览器插件发布 [Memos](https://usememos.com/) 的插件。
|
一个通过浏览器插件发布 [Memos](https://usememos.com/) 的插件。基于 iSpeak-bber 修改,原作者为 [DreamyTZK](https://www.antmoe.com/)。
|
||||||
|
|
||||||
基于 iSpeak-bber 修改,原作者为 [DreamyTZK](https://www.antmoe.com/)。
|
|
||||||
|
|
||||||
## 更新日志
|
## 更新日志
|
||||||
|
|
||||||
|
2023.03.19 打开插件时 focus 输入框;上传图片重命名精确的秒。
|
||||||
|
|
||||||
2023.03.10 修复发布后调用最新一条 Memos。
|
2023.03.10 修复发布后调用最新一条 Memos。
|
||||||
|
|
||||||
2023.03.09 新增右键发送文本至 Memos 输入框。
|
2023.03.09 新增右键发送文本至 Memos 输入框。
|
||||||
|
|||||||
+3
-1
@@ -66,6 +66,8 @@ get_info(function (info) {
|
|||||||
setTimeout(get_info, 1)
|
setTimeout(get_info, 1)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
$("textarea[name=text]").focus()
|
||||||
|
|
||||||
//监听输入结束,保存未发送内容到本地
|
//监听输入结束,保存未发送内容到本地
|
||||||
$("textarea[name=text]").blur(function () {
|
$("textarea[name=text]").blur(function () {
|
||||||
chrome.storage.sync.set(
|
chrome.storage.sync.set(
|
||||||
@@ -147,7 +149,7 @@ function uploadImage(data) {
|
|||||||
if (info.status) {
|
if (info.status) {
|
||||||
let old_name = data.name.split('.');
|
let old_name = data.name.split('.');
|
||||||
let file_ext = data.name.split('.').pop();
|
let file_ext = data.name.split('.').pop();
|
||||||
let now = dayjs().format('YYYYMMDDHHmm')
|
let now = dayjs().format('YYYYMMDDHHmmss')
|
||||||
let new_name = old_name[0] + '_' + now + '.' + file_ext;
|
let new_name = old_name[0] + '_' + now + '.' + file_ext;
|
||||||
formData.append('file', data, new_name)
|
formData.append('file', data, new_name)
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "__MSG_extName__",
|
"name": "__MSG_extName__",
|
||||||
"version": "2023.03.10",
|
"version": "2023.03.19",
|
||||||
"action": {
|
"action": {
|
||||||
"default_popup": "popup.html",
|
"default_popup": "popup.html",
|
||||||
"default_icon": "assets/logo_24x24.png",
|
"default_icon": "assets/logo_24x24.png",
|
||||||
|
|||||||
Reference in New Issue
Block a user