0.1.6s
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// @grant GM_registerMenuCommand
|
||||
// @grant GM_getValue
|
||||
// @grant GM_setValue
|
||||
// @version 1.0r
|
||||
// @version 1.1r
|
||||
// @author https://t.me/Nyako_TW
|
||||
// @downloadURL https://git.nekono.su/Nyako/Local-Booru/raw/branch/main/button_script.user.js
|
||||
// @updateURL https://git.nekono.su/Nyako/Local-Booru/raw/branch/main/button_script.user.js
|
||||
@@ -107,7 +107,7 @@ if (originalImageLinkElement) {
|
||||
headers: {
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
data: JSON.stringify({ id: imageID }),
|
||||
data: JSON.stringify({ id: imageID , type: "download"}),
|
||||
onload: function(response) {
|
||||
console.log('Ответ от API:', response.responseText);
|
||||
newDownloadButton.style.outline = "2px solid green"; // Успех
|
||||
|
||||
Reference in New Issue
Block a user