PageSourceSearch

https://www.mol.gov.om/Questionnaire/Scripts/Feedback/collect-context-data.js?v=1.2&sv=4

js mol.gov.om collected 2026-10-01 14:09:36 UTC 619 bytes, 26 lines download raw bytes

1function getContextKey() {
2    try {
3        var key = $("li[id^='liMenuItem_'].active:last").id();
4        if (key) {
5            key = key.replace("limenuitem_", "");
6        }
7        return key;
8    } catch (e) {
9        return "";
10    }
11}
12
13function getContextTitle() {
14    var title = $("#main-container").find(".page-header").find("h1").html();
15    if (title) {
16        return title.trim();
17    }
18    title = $("body").find("h1").html();
19    if (title) {
20        return title.trim();
21    }
22    title = window.parent.document.title;
23    if (title) {
24        return title.trim();
25    }
26}

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.