PageSourceSearch

https://bern-gross.ru/wp-content/plugins/nextgen-gallery/products/…/modules/ajax/static/ngg_store.js?ver=3.9.2

js bern-gross.ru collected 2026-10-04 20:29:31 UTC 891 bytes, 42 lines download raw bytes

1jQuery(function($){
2
3// Store isn't working 100% for me. So disabling it for now.
4store.enabled = false;
5
6window.Ngg_Store = {
7    driver: store.enabled ? store : new Persist.Store('ngg_store'),
8
9    get: function(key){
10        return this.driver.get(key);
11    },
12
13    set: function(key, value){
14        if (typeof(value) == 'object') {
15            value = JSON.stringify(value);
16        }
17        return this.driver.set(key, value);
18    },
19
20    del: function(key){
21        this.driver.remove(key);
22        return !this.has(key);
23    },
24
25    has: function(key){
26        var value = this.get(key);
27        return typeof(value) != 'undefined' && value != null;
28    },
29
30    save: function(){
31        if (typeof(this.driver['save']) != 'undefined') {
32            return this.driver.save();
33        }
34        else return true;
35    }
36};
37
38$(window).unload(function(){
39    Ngg_Store.save();
40})
41
42});

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.