Quck Promoter - 0.6.1

Fixed issue where you couldn't promote any thread due to saying Dev is banned from promotion
This commit is contained in:
Ryahn 2024-11-20 21:50:15 -06:00
parent 0b9e79c27d
commit cf34b50cf1
2 changed files with 5 additions and 2 deletions

3
Changelog.md Normal file
View File

@ -0,0 +1,3 @@
## 0.6.1
### Quick Promoter
- Fixed issue where you couldn't promote any thread due to saying Dev is banned from promotion

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @name Promote Current Time
// @namespace http://tampermonkey.net/
// @version 0.6.0
// @version 0.6.1
// @description Enter the current time for promotion.
// @author Gameil
// @match https://f95zone.to/threads/*/
@ -55,7 +55,7 @@
onload: function(response) {
if (response.status === 200) {
const data = JSON.parse(response.responseText);
if (data) {
if (Array.isArray(data) && data.length !== 0) {
devBanned = true;
}
// Handle successful response here