PageSourceSearch

https://aousd.org/wp-content/themes/salient-child/javascript.js?ver=3.6.1

js aousd.org collected 2026-10-02 02:23:21 UTC 990 bytes, 34 lines download raw bytes

1jQuery(document).ready(function ($) {
2
3   $('.sf-menu .sub-menu a').each(function () {
4      var a = new RegExp('/' + window.location.host + '/');
5      if (!a.test(this.href)) {
6         $(this).addClass("external");
7      }
8   });
9
10   $(document).on('click', '.sf-menu .sub-menu a.external', function (event) {
11      event.preventDefault();
12      event.stopPropagation();
13      window.open(this.href, '_blank');
14   });
15
16   $(document).on('click', 'a:not(.chosen-single)', function (event) {
17      var a = new RegExp('/' + window.location.host + '/');
18
19      // SKIP IF NOT EXTERNAL
20      if (a.test(this.href)) {
21         return;
22      }
23
24      // SKIP VIDEO LIGHTBOX TRIGGERS
25      if ($(this).hasClass('magnific-popup') || $(this).hasClass('nectar_video_lightbox') || $(this).closest('.nectar-video-box').length) {
26         return;
27      }
28
29      event.preventDefault();
30      event.stopPropagation();
31      window.open(this.href, '_blank');
32   });
33
34});

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.