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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user