PageSourceSearch

https://www.akeptus.com/offline.js

js akeptus.com collected 2026-09-24 12:15:42 UTC 697 bytes, 23 lines download raw bytes

1const HOME_URL = '/homeowners/app';
2const status = document.getElementById('status');
3const statusText = document.getElementById('status-text');
4const retry = document.getElementById('retry');
5
6function openHome() {
7  window.location.assign(HOME_URL);
8}
9
10function updateStatus() {
11  const online = navigator.onLine;
12  status.classList.toggle('online', online);
13  statusText.textContent = online ? 'Connection restored' : 'No internet connection';
14  retry.textContent = online ? 'Return home' : 'Try again';
15}
16
17retry.addEventListener('click', openHome);
18window.addEventListener('online', () => {
19  updateStatus();
20  openHome();
21});
22window.addEventListener('offline', updateStatus);
23updateStatus();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.