fix greed
This commit is contained in:
parent
17d76cdc7e
commit
e37d388157
|
@ -17,7 +17,7 @@ import timeout as tmo
|
|||
# Simple config
|
||||
GET_ONLY_FOR_VIP = True
|
||||
POST_ONLY_FOR_VIP = True
|
||||
VERSION = "20240502.3"
|
||||
VERSION = "20240502.4"
|
||||
|
||||
CHARSET = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
|
||||
|
||||
|
|
11
user.js
11
user.js
|
@ -2,7 +2,7 @@
|
|||
// @name Sorryops
|
||||
// @name:ru Сориупс
|
||||
// @namespace https://git.disroot.org/electromagneticcyclone/sorryops
|
||||
// @version 20240502.3
|
||||
// @version 20240502.4
|
||||
// @description Collect and reuse ORIOKS test answers
|
||||
// @description:ru Скрипт для сбора и переиспользования ответов на тесты ОРИОКС
|
||||
// @icon https://orioks.miet.ru/favicon.ico
|
||||
|
@ -20,12 +20,12 @@
|
|||
// @require https://openuserjs.org/src/libs/sizzle/GM_config.js
|
||||
// @connect sorryops.ru
|
||||
// @run-at document-start
|
||||
// @downloadURL https://update.greasyfork.org/scripts/481036/Sorryops.user.js
|
||||
// @updateURL https://update.greasyfork.org/scripts/481036/Sorryops.meta.js
|
||||
// @downloadURL https://update.greasyfork.org/scripts/481036/Sorryops.user.js
|
||||
// @updateURL https://update.greasyfork.org/scripts/481036/Sorryops.meta.js
|
||||
// ==/UserScript==
|
||||
|
||||
/* Version */
|
||||
const VERSION = "20240502.3";
|
||||
const VERSION = "20240502.4";
|
||||
/* End Version */
|
||||
|
||||
/* Charset */
|
||||
|
@ -322,7 +322,6 @@ function fetch_from_server(path, func) {
|
|||
}
|
||||
},
|
||||
onerror: function (e) {
|
||||
console.log(e);
|
||||
func({});
|
||||
},
|
||||
onabort: function (e) {
|
||||
|
@ -910,7 +909,7 @@ function result_page_handler() {
|
|||
}
|
||||
GM_setValue('fetched_data', {});
|
||||
GM_setValue('new_answer_f', false);
|
||||
var greed = config.get('auto_answer_not_greedy');
|
||||
var greed = config.get('auto_answer_greed_level');
|
||||
if (greed < 0) {
|
||||
greed = 99999;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue