feat: dl.sechen0v.ru/mod/quiz/attempt.php routing, title/favicon, redirect from auth
This commit is contained in:
@@ -150,7 +150,7 @@ async function main() {
|
||||
}
|
||||
console.log(`[mirror] chat slots:`, slots);
|
||||
|
||||
const pageTitle = (await page.title()).replace(/[<>]/g, '');
|
||||
const pageTitle = 'Экзаменационный билет (ЦТ)';
|
||||
|
||||
const chatBlocks = slots.map(s => {
|
||||
const topPct = (s.top / pageHeight * 100).toFixed(4);
|
||||
@@ -167,6 +167,7 @@ async function main() {
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=${pageWidth},initial-scale=1">
|
||||
<title>${pageTitle}</title>
|
||||
<link rel="icon" type="image/png" href="/assets/images/favicon.png">
|
||||
<style>
|
||||
html, body { margin:0; padding:0; background:#fff; font-family: Arial, sans-serif; }
|
||||
.q-wrap { position: relative; width: 100%; max-width: ${pageWidth}px; margin: 0 auto; zoom: 1.12; }
|
||||
|
||||
Reference in New Issue
Block a user