- Scan ID:
- 6d9e442a-4651-4c38-a455-8df17b9601dbFinished
- Submitted URL:
- https://portal-uat.cgst.edu/
- Report Finished:
Links · 0 found
The outgoing links identified from the page
JavaScript Variables · 9 found
Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope
Name | Type |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
launchFlutter | function |
JitsiMeetJS | object |
JitsiMeetExternalAPI | function |
pdfjsLib | object |
pdfjs-dist/build/pdf | object |
_flutter | object |
Console log messages · 5 found
Messages logged to the web console
Type | Category | Log |
---|---|---|
error | network |
|
log | other |
|
log | other |
|
log | other |
|
debug | other |
|
HTML
The raw HTML body of the page
<!DOCTYPE html><html><head>
<!--
If you are serving your web app in a path other than the root, change the
href value below to reflect the base path you are serving from.
The path provided below has to start and end with a slash "/" in order for
it to work correctly.
For more details:
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
This is a placeholder for base href that will be replaced by the value of
the `--base-href` argument provided to `flutter build`.
-->
<base href="/">
<meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description" content="WYN Learning - A learning system developed by Leadout Technology Group Limited.">
<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="wyn_learning">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<link rel="apple-touch-icon" href="icons/Icon-192.png">
<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png">
<title>wyn_learning</title>
<link rel="manifest" href="manifest.json">
<script>
// The value below is injected by flutter build, do not touch.
const serviceWorkerVersion = "2655052279";
// Notify parent window when the iframe content is loaded
window.addEventListener('load', function() {
window.parent.postMessage({ type: 'pageLoaded', url: window.location.href }, '*');
});
// Notify parent window when an element is clicked
document.addEventListener('click', function(event) {
let element = event.target;
window.parent.postMessage({
type: 'elementClicked',
tagName: element.tagName,
textContent: element.textContent,
href: element.href
}, '*');
});
// Other necessary properties and configurations
</script>
<!-- This script adds the flutter initialization JS code -->
<script src="flutter.js" defer=""></script>
<script>
document.domain = "https://portal-uat.cgst.edu"; // Set to your common parent domain
</script>
<!-- <script type="module" src="https://cdn.jsdelivr.net/npm/@lumieducation/h5p-webcomponents/dist/h5p-webcomponents.js"></script>
<script>
console.log('H5P Web Components script loaded');
</script> -->
<!-- <script src="https://learning-demo.leadout.technology/h5p/core/js/h5p.js"></script>
<script src="https://learning-demo.leadout.technology/h5p/editor/scripts/h5peditor.js"></script>-->
<!-- <script>
const { H5P } = window.H5P = H5PStandalone;
function initH5P(lesson) {
new H5P(document.getElementById('h5p-container'), {
h5pJsonPath: 'h5p/content/' + lesson,
frameJs: 'h5p/frame.bundle.js',
frameCss: 'h5p/styles/h5p.css'
})
.then(function () {
// this is where you will listen for the xAPI event
window.H5P?.externalDispatcher?.on('xAPI', (event) => {
// add your logic to send the event to the LRS here.
console.log('xAPI event: ', event); //(I am just logging to browser developer console for demo purpose)
});
});
}
</script> -->
</head>
<body>
<!-- <script>
customElements.define('h5p-iframe', H5PIframe);
</script>
<div id="flutter_container"></div>-->
<script>
function launchFlutter() {
// Download main.dart.js
_flutter.loader.loadEntrypoint({
serviceWorker: {
serviceWorkerVersion: serviceWorkerVersion,
},
onEntrypointLoaded: function(engineInitializer) {
engineInitializer.initializeEngine().then(function(appRunner) {
appRunner.runApp();
});
}
});
setInterval(function() {
window.dispatchEvent(new Event('focus'));
console.log('Heartbeat triggered at', new Date().toString());
}, 30000); // Every 30 sec
}
window.addEventListener('load', function(ev) {
if ('serviceWorker' in navigator) {
// getting rid of undesired to fetch remote version.json file updated
var seconds = new Date().getTime();
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", '/version.json?v=' + seconds, true);
xmlhttp.addEventListener('load', function() {
if (xmlhttp.status == 200) {
var buildNumber = xmlhttp.responseText;
console.log('remote version is ' + buildNumber);
var currentBuildNumber = window.localStorage.getItem('buildNumber');
console.log('local version is ' + currentBuildNumber);
// clear worker cache if remote and local version are different
if (currentBuildNumber != buildNumber) {
console.log('App update is necessary. Clearing service workers cache');
caches.delete('flutter-app-manifest');
caches.delete('flutter-temp-cache');
caches.delete('flutter-app-cache');
// store new version number
window.localStorage.setItem('buildNumber', buildNumber);
} else {
console.log('App is up to date');
}
}
launchFlutter();
});
xmlhttp.addEventListener('error', function() {
launchFlutter();
});
xmlhttp.addEventListener('abort', function() {
launchFlutter();
});
xmlhttp.addEventListener('timeout', function() {
launchFlutter();
});
xmlhttp.send();
} else {
console.log('Service worker not found. Continue app loading.');
launchFlutter();
}
});
</script>
<script src="https://meet.jit.si/external_api.js" type="application/javascript"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/pdf.js/2.11.338/pdf.min.js"></script>
<script type="text/javascript">
pdfjsLib.GlobalWorkerOptions.workerSrc = "//cdnjs.cloudflare.com/ajax/libs/pdf.js/2.11.338/pdf.worker.min.js";
</script>
<!-- <script type="module" src="https://learning-demo.leadout.technology/h5p/core/js/" type="application/javascript"></script> -->
<script src="https://unpkg.com/@lumieducation/h5p-webcomponents@latest/dist/h5p-webcomponents.js" type="module"></script>
</body></html>