feat(clickTtHttpPageRoutes, ClickTtView): enhance script injection for improved HTML handling

- Added checks to inject the navigation script into the <head> or <body> of HTML responses, ensuring proper script placement for enhanced functionality.
- Updated ClickTtView to include a reference for the iframe, improving access to the iframe element for future interactions.
- Enhanced overall HTML processing during proxy interactions, contributing to a more robust user experience.
This commit is contained in:
Torsten Schulz (local)
2026-03-11 00:06:42 +01:00
parent c40ee04e9e
commit 1398e8911a
2 changed files with 12 additions and 0 deletions

View File

@@ -73,6 +73,8 @@
<div class="iframe-container" v-if="iframeSrc">
<iframe
id="clicktt-iframe"
ref="clickttIframe"
:src="iframeSrc"
class="clicktt-iframe"
title="click-TT Seite"
@@ -104,6 +106,7 @@ export default {
const directUrl = ref('');
const iframeSrc = ref('');
const sessionId = ref('');
const clickttIframe = ref(null);
const canLoad = computed(() => {
if (pageType.value === 'url') {
@@ -157,6 +160,7 @@ export default {
clubId,
directUrl,
iframeSrc,
clickttIframe,
canLoad,
loadPage,
clearIframe,