PageSourceSearch

https://www.cfa.vic.gov.au/include/js/jquery.cookie.js?_zv=202609221525

js cfa.vic.gov.au collected 2026-09-24 18:01:36 UTC 1,879 bytes, 40 lines download raw bytes

1// Cookie Management
2if (!jQuery.cookie) {
3    jQuery.cookie = function (name, value, options) {
4        if (typeof value != 'undefined') { // name and value given, set cookie
5            options = options || {};
6            if (value === null) {
7                value = '';
8                options.expires = -1;
9            }
10            var expires = '';
11            if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
12                var date;
13                if (typeof options.expires == 'number') {
14                    date = new Date();
15                    date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
16                } else {
17                    date = options.expires;
18                }
19                expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
20            }
21            var path = options.path ? '; path=' + (options.path) : '';
22            var domain = options.domain ? '; domain=' + (options.domain) : '';
23            var secure = options.secure ? '; secure' : '';
24            document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
25        } else { // only name given, get cookie
26            var cookieValue = null;
27            if (document.cookie && document.cookie != '') {
28                var cookies = document.cookie.split(';');
29                for (var i = 0; i < cookies.length; i++) {
30                    var cookie = cookies[i].trim();
31                    if (cookie.substring(0, name.length + 1) == (name + '=')) {
32                        cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
33                        break;
34                    }
35                }
36            }
37            return cookieValue;
38        }
39    };
40}

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.