PageSourceSearch

https://www.royrvik.kommune.no/templates/assets/js/json-enc.js

js royrvik.kommune.no collected 2026-10-02 19:58:32 UTC 371 bytes, 12 lines download raw bytes

1htmx.defineExtension('json-enc', {
2    onEvent: function (name, evt) {
3        if (name === "htmx:configRequest") {
4            evt.detail.headers['Content-Type'] = "application/json";
5        }
6    },
7    
8    encodeParameters : function(xhr, parameters, elt) {
9        xhr.overrideMimeType('text/json');
10        return (JSON.stringify(parameters));
11    }
12});

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.