mirror of
https://github.com/Jonnyan404/memos-bber.git
synced 2026-04-25 03:58:37 +09:00
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+4
-1
@@ -22,6 +22,9 @@ function get_info(callback) {
|
|||||||
flag = true
|
flag = true
|
||||||
}
|
}
|
||||||
returnObject.status = flag
|
returnObject.status = flag
|
||||||
|
if (!items.apiUrl.endsWith('/')) {
|
||||||
|
items.apiUrl += '/';
|
||||||
|
}
|
||||||
returnObject.apiUrl = items.apiUrl
|
returnObject.apiUrl = items.apiUrl
|
||||||
returnObject.apiTokens = items.apiTokens
|
returnObject.apiTokens = items.apiTokens
|
||||||
returnObject.hidetag = items.hidetag
|
returnObject.hidetag = items.hidetag
|
||||||
@@ -581,7 +584,7 @@ function sendText() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url:info.apiUrl+'api/v1/memo',
|
url:info.apiUrl+'api/v1/memos',
|
||||||
type:"POST",
|
type:"POST",
|
||||||
data:JSON.stringify({
|
data:JSON.stringify({
|
||||||
'content': content,
|
'content': content,
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "__MSG_extName__",
|
"name": "__MSG_extName__",
|
||||||
"default_locale": "zh_CN",
|
"default_locale": "zh_CN",
|
||||||
"version": "2023.09.19",
|
"version": "2024.05.22",
|
||||||
"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