PageSourceSearch

https://www.tuckedinntheharbour.com/scripts/default.js

js tuckedinntheharbour.com collected 2026-10-10 00:48:55 UTC 3,607 bytes, 90 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opens = _____WB$wombat$assign$function_____("opens");
10var matched, browser;
11// Use of jQuery.browser is frowned upon.
12// More details: http://api.jquery.com/jQuery.browser
13// jQuery.uaMatch maintained for back-compat
14jQuery.uaMatch = function (ua) {
15    ua = ua.toLowerCase();
16    var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
17        /(webkit)[ \/]([\w.]+)/.exec(ua) ||
18        /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
19        /(msie) ([\w.]+)/.exec(ua) ||
20        ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
21        [];
22
23    return {
24        browser: match[1] || "",
25        version: match[2] || "0"
26    };
27};
28
29matched = jQuery.uaMatch(navigator.userAgent);
30browser = {};
31if (matched.browser) {
32    browser[matched.browser] = true;
33    browser.version = matched.version;
34}
35// Chrome is Webkit, but Webkit is also Safari.
36if (browser.chrome) {
37    browser.webkit = true;
38} else if (browser.webkit) {
39    browser.safari = true;
40}
41jQuery.browser = browser;
42
43$(document).ready(function () {
44    $('iframe').each(function () {/*fix youtube z-index*/
45        var ifr_source = $(this).attr('src') || "";
46        if (ifr_source.length > 0) {
47            var url = $(this).attr("src");
48            if (url.indexOf("youtube.com") >= 0) {
49                if (url.indexOf("?") >= 0) {
50                    $(this).attr("src", url + "&wmode=transparent");
51                } else {
52                    $(this).attr("src", url + "?wmode=transparent");
53                }
54            }
55        }
56    });
57
58    $('.ddmenu li.dropdown').hover(function () {
59        if ($.browser.msie && (parseInt($.browser.version, 10) === 8 || parseInt($.browser.version, 10) === 7)) {
60            $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn();
61            return;
62        }
63        var width = Math.max($(window).innerWidth(), window.innerWidth);
64        if (width > 979) $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn();        
65    }, function () {
66        if ($.browser.msie && (parseInt($.browser.version, 10) === 8 || parseInt($.browser.version, 10) === 7)) {
67            $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut();
68            return;
69        }
70        var width = Math.max($(window).innerWidth(), window.innerWidth);
71        if (width > 979) $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut();
72    });
73
74    $('.ddmenu li.dropdown').click(function () {
75        $('.dropdown-menu').stop(true, true).delay(200).fadeOut();
76        var width = Math.max($(window).innerWidth(), window.innerWidth);
77        if (width <= 1024) {
78            if ($(this).find('.dropdown-menu').css('display') == 'none') {
79                $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn();
80                return false;
81            } else {
82                /*dropdown already opened. then goto parent link.*/
83            }
84        }
85    });
86
87});
88
89
90}

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.