v0.14.35 - Fix gear panel not showing + remove Daily Activities
- Gear panel: wrapped autoScrapeGear() and buildGearPanel() in try/catch. An exception during scrape (new store-scan loop) killed the onclick handler before the panel was scheduled — panel never appeared. - Removed renderProgressPanel() call (Daily Activities window) per user request — not used.
This commit is contained in:
parent
03cbccf703
commit
217e0cd162
6 changed files with 27 additions and 15 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name HV Unified
|
||||
// @namespace hvunified
|
||||
// @version 0.14.34
|
||||
// @version 0.14.35
|
||||
// @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse
|
||||
// @author GaboGG + Hermes
|
||||
// @match *://*.hentaiverse.org/*
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
// CONFIG — default settings
|
||||
// ═══════════════════════════════════════════════════════════════════════
|
||||
|
||||
const VERSION = '0.14.34';
|
||||
const VERSION = '0.14.35';
|
||||
|
||||
const CFG = {
|
||||
// — Battle automation
|
||||
|
|
@ -3958,8 +3958,13 @@ function enhanceGearAnalysis() {
|
|||
fontSize: '11px', fontFamily: 'monospace',
|
||||
});
|
||||
analyzeBtn.onclick = () => {
|
||||
autoScrapeGear();
|
||||
setTimeout(buildGearPanel, 300);
|
||||
try {
|
||||
autoScrapeGear();
|
||||
} catch (e) { console.error('[HV] scrape failed:', e); }
|
||||
setTimeout(() => {
|
||||
try { buildGearPanel(); }
|
||||
catch (e) { console.error('[HV] gear panel failed:', e); }
|
||||
}, 300);
|
||||
};
|
||||
bar.appendChild(analyzeBtn);
|
||||
|
||||
|
|
@ -4318,7 +4323,6 @@ function init() {
|
|||
// Always-on features
|
||||
setupRETimer();
|
||||
addConfigButton();
|
||||
renderProgressPanel();
|
||||
|
||||
if (STATE.page === 'battle') {
|
||||
initializeBattle();
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name HV Unified
|
||||
// @namespace hvunified
|
||||
// @version 0.14.34
|
||||
// @version 0.14.35
|
||||
// @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse
|
||||
// @author GaboGG + Hermes
|
||||
// @match *://*.hentaiverse.org/*
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
// CONFIG — default settings
|
||||
// ═══════════════════════════════════════════════════════════════════════
|
||||
|
||||
const VERSION = '0.14.34';
|
||||
const VERSION = '0.14.35';
|
||||
|
||||
const CFG = {
|
||||
// — Battle automation
|
||||
|
|
@ -3958,8 +3958,13 @@ function enhanceGearAnalysis() {
|
|||
fontSize: '11px', fontFamily: 'monospace',
|
||||
});
|
||||
analyzeBtn.onclick = () => {
|
||||
autoScrapeGear();
|
||||
setTimeout(buildGearPanel, 300);
|
||||
try {
|
||||
autoScrapeGear();
|
||||
} catch (e) { console.error('[HV] scrape failed:', e); }
|
||||
setTimeout(() => {
|
||||
try { buildGearPanel(); }
|
||||
catch (e) { console.error('[HV] gear panel failed:', e); }
|
||||
}, 300);
|
||||
};
|
||||
bar.appendChild(analyzeBtn);
|
||||
|
||||
|
|
@ -4318,7 +4323,6 @@ function init() {
|
|||
// Always-on features
|
||||
setupRETimer();
|
||||
addConfigButton();
|
||||
renderProgressPanel();
|
||||
|
||||
if (STATE.page === 'battle') {
|
||||
initializeBattle();
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// CONFIG — default settings
|
||||
// ═══════════════════════════════════════════════════════════════════════
|
||||
|
||||
const VERSION = '0.14.34';
|
||||
const VERSION = '0.14.35';
|
||||
|
||||
const CFG = {
|
||||
// — Battle automation
|
||||
|
|
|
|||
|
|
@ -250,8 +250,13 @@ function enhanceGearAnalysis() {
|
|||
fontSize: '11px', fontFamily: 'monospace',
|
||||
});
|
||||
analyzeBtn.onclick = () => {
|
||||
autoScrapeGear();
|
||||
setTimeout(buildGearPanel, 300);
|
||||
try {
|
||||
autoScrapeGear();
|
||||
} catch (e) { console.error('[HV] scrape failed:', e); }
|
||||
setTimeout(() => {
|
||||
try { buildGearPanel(); }
|
||||
catch (e) { console.error('[HV] gear panel failed:', e); }
|
||||
}, 300);
|
||||
};
|
||||
bar.appendChild(analyzeBtn);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name HV Unified
|
||||
// @namespace hvunified
|
||||
// @version 0.14.34
|
||||
// @version 0.14.35
|
||||
// @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse
|
||||
// @author GaboGG + Hermes
|
||||
// @match *://*.hentaiverse.org/*
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ function init() {
|
|||
// Always-on features
|
||||
setupRETimer();
|
||||
addConfigButton();
|
||||
renderProgressPanel();
|
||||
|
||||
if (STATE.page === 'battle') {
|
||||
initializeBattle();
|
||||
|
|
|
|||
Loading…
Reference in a new issue