https://portal-uat.cgst.edu/

送信済みURL:
https://portal-uat.cgst.edu/
レポート終了日:

リンク · 0件検出

ページから特定された発信リンク

JavaScript変数 · 9件検出

ページのウィンドウオブジェクトにロードされたグローバルのJavaScript変数は関数以外の場所で宣言された変数で、現在のスコープ内であればコードのどこからでもアクセス可能です

名前規模
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
launchFlutterfunction
JitsiMeetJSobject
JitsiMeetExternalAPIfunction
pdfjsLibobject
pdfjs-dist/build/pdfobject
_flutterobject

コンソールログメッセージ · 5件検出

Webコンソールにログ記録されたメッセージ

規模分類ログ
errornetwork
URL
https://unpkg.com/@lumieducation/[email protected]/dist/h5p-webcomponents.js
テキスト
Failed to load resource: the server responded with a status of 404 ()
logother
URL
https://portal-uat.cgst.edu/
テキスト
remote version is {"app_name":"wyn_learning","version":"1.2.15","build_number":"66","package_name":"wyn_learning"}
logother
URL
https://portal-uat.cgst.edu/
テキスト
local version is null
logother
URL
https://portal-uat.cgst.edu/
テキスト
App update is necessary. Clearing service workers cache
debugother
URL
https://portal-uat.cgst.edu/flutter.js
テキスト
Installing/Activating first service worker.

HTML

未加工のHTMLページ本文

<!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>