PageSourceSearch

https://osteopathic.org/wp-content/plugins/aoa-sso-login-modal/aoa-sso-login-modal.js?ver=1708985410

js osteopathic.org collected 2026-10-09 22:50:47 UTC 1,183 bytes, 37 lines download raw bytes

1window.addEventListener('DOMContentLoaded', function() {
2
3  // Update the href in "Continue to login" anchor tag
4  // with the dynamically set href of the login button
5  var hrefSource = document.getElementById('aoaLogin')
6
7  // user is already logged in, or Login button is otherwise unavailable
8  if (!hrefSource) return;
9
10  var buttonTarget = document.getElementById('aoaLoginModalButton');
11  var linkTarget = document.getElementById('aoaLoginModalLink')
12
13  if (buttonTarget && linkTarget) {
14    buttonTarget.href = hrefSource.href;
15    linkTarget.href = hrefSource.href;
16  } else {
17    console.error('AOA SSO Login Modal: Unable to update href in links.')
18  }
19
20  MicroModal.init({
21    onShow: (modal, element, evt) => {
22      evt.preventDefault();
23      evt.stopPropagation();
24    }, // [1]
25    //onClose: modal => console.info(`${modal.id} is hidden`), // [2]
26//    openTrigger: 'data-custom-open', // [3]
27//    closeTrigger: 'data-custom-close', // [4]
28//    openClass: 'is-open', // [5]
29    disableScroll: true, // [6]
30//    disableFocus: false, // [7]
31//    awaitOpenAnimation: false, // [8]
32//    awaitCloseAnimation: false, // [9]
33    //debugMode: true // [10]
34  });
35});
36
37

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.