PageSourceSearch

https://www.oppikrim.no/js/Prosjektsider/projectApp.js?v=txr6Jbq3b40o4pWIfkdo7EADfFioG6ORjF5DAdjMEkk

js oppikrim.no collected 2026-10-08 08:21:35 UTC 2,296 bytes, 80 lines download raw bytes

1$(function () {
2    initxxemxx();
3});
4
5function initxxemxx() {
6    setupyyemyy();
7    setupxxemxx();
8    $(".modal").click(function (event) {
9        var e;
10        e = $(this);
11        var msg = e.data("html");
12        if (msg.indexOf("xxemxx") !== -1) {
13            setTimeout(function () {
14                setupxxemxx();
15            }, 200);
16        }
17    });
18}
19
20function setupyyemyy() {
21    $(".yyemyy").each(function () {
22        var key = $(this).attr("key");
23        $(this).html(swap(key));
24    });
25}
26
27function swap(key) {
28    if (key.length > 69) {
29        var mailkey = key.substring(69);
30        key = key.substring(0, 69);
31        var mail = "";
32        for (var i = 0; i < mailkey.length; i++) {
33            var found = false;
34            for (var k = 0; k < key.length; k++) {
35                if (mailkey[i] == key[k]) {
36                    var pos = k - i - mailkey.length + 69;
37                    pos = ((pos % 69) + 69) % 69;
38                    mail += key[pos];
39                    found = true;
40                }
41            }
42            if (!found) {
43                mail += mailkey[i];
44            }
45        }
46        return mail;
47    }
48    return String.empty;
49}
50
51function setupxxemxx() {
52    $(".xxemxx").click(function (e) {
53        e.preventDefault();
54        var key = $(this).attr("key");
55        if (key.length > 69) {
56            var mailkey = key.substring(69);
57            key = key.substring(0, 69);
58            var mail = "";
59            for (var i = 0; i < mailkey.length; i++) {
60                var found = false;
61                for (var k = 0; k < key.length; k++) {
62                    if (mailkey[i] == key[k]) {
63                        var pos = k - i - mailkey.length + 69;
64                        pos = ((pos % 69) + 69) % 69;
65                        mail += key[pos];
66                        found = true;
67                    }
68                }
69                if (!found) {
70                    mail += mailkey[i];
71                }
72            }
73            var re = /^([a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,9})$/i;
74            if (re.test(mail)) {
75                mail = "mailto:" + mail;
76                window.location.href = mail;
77            }
78        }
79    });
80}

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.