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:
GaboGG 2026-07-31 07:14:52 -04:00
parent 03cbccf703
commit 217e0cd162
6 changed files with 27 additions and 15 deletions

View file

@ -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();

View file

@ -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();

View file

@ -2,7 +2,7 @@
// CONFIG — default settings
// ═══════════════════════════════════════════════════════════════════════
const VERSION = '0.14.34';
const VERSION = '0.14.35';
const CFG = {
// — Battle automation

View file

@ -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);

View file

@ -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/*

View file

@ -10,7 +10,6 @@ function init() {
// Always-on features
setupRETimer();
addConfigButton();
renderProgressPanel();
if (STATE.page === 'battle') {
initializeBattle();