fecd8bb9c9
562 Ersetzungen in 50 Dateien: Halbgeviertstrich zwischen zwei Ziffern (= "bis"-Bereich) bekommt Leerzeichen davor/danach (3–4 -> 3 – 4). Regex /([0-9])\s*–\s*(?=[0-9])/ auf Rohtext (format-erhaltend, CRLF/Einrueckung unveraendert), Bindestriche in Woertern und Minuszeichen unangetastet, alle JSON weiter gueltig. Energiemanager-Zeitbloecke sind Display-Labels (kein Logik-Key) -> safe. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
23 lines
862 B
JavaScript
23 lines
862 B
JavaScript
const { chromium } = require('@playwright/test');
|
|
(async () => {
|
|
const browser = await chromium.launch();
|
|
const page = await browser.newPage();
|
|
const r = await page.request.get('https://geograsim.at/teacher.html');
|
|
const html = await r.text();
|
|
|
|
const idxLogin = html.indexOf('login.html');
|
|
console.log('--- context around first login.html reference ---');
|
|
console.log(html.slice(idxLogin - 400, idxLogin + 120));
|
|
|
|
for (const name of ['renderLiveGesamt', '_liveQualityBar']) {
|
|
const idx = html.indexOf('function ' + name);
|
|
console.log('\n--- "function ' + name + '" @' + idx + ' ---');
|
|
if (idx >= 0) console.log(html.slice(idx - 60, idx + 120));
|
|
}
|
|
|
|
const idxErg = html.indexOf('Ergebnisse');
|
|
console.log('\n--- context around Ergebnisse ---');
|
|
console.log(html.slice(idxErg - 220, idxErg + 80));
|
|
await browser.close();
|
|
})();
|