PageSourceSearch

https://qna.org.qa/custom_js/navbar.min.js?v=GGj_bxyEaOsO18DH75lfXNTPpK36DwHBJDmsMy-Wc1Q

js qna.org.qa collected 2026-10-02 03:41:08 UTC 2,252 bytes, 1 lines download raw bytes

1$(document).ready(function () { let originBaseUrl = window.location.origin; let umbracoBaseUrl = document.getElementById("umbracoBaseUrl").value; let umbracoCulture = document.getElementById("CurrentLanguageName").value; let lang = document.getElementById("CurrentLanguageName").value; $("#txtsearch").val(""); $("#txtsearch").keydown(function (event) { if (event.which === 13) { window.location.href = umbracoBaseUrl + "/" + umbracoCulture + "/search?value=" + encodeURIComponent($("#txtsearch").val()) } }); let currentUrl = window.location.href; if (currentUrl.includes("/home")) { $(".skip-link").remove() } $("#qatarLink, #generalLink, #economyLink, #miscellaneousLink, #sportLink, #technologyLink,#trainingProgramsLink").each(function () { let linkValue = $(this).data("link-value"); if (currentUrl.includes(linkValue) && !currentUrl.includes("qatar2022") && !currentUrl.includes("qatar-vision-2030") && !currentUrl.includes("details") && !currentUrl.includes("detail") && !currentUrl.includes("form")) { $(this).addClass("active") } else { $(this).removeClass("active") } }); $(document).on("click", ".icon-bookmark-redirect-to-login", function () { let bookmarkId = $("#bookmarkIdForNonLogin").val(); let bookmarkType = $("#bookmarkTypeForNonLogin").val(); GlobalFunctions.SaveToLocalStorageAndRedirectToLogin(bookmarkId, bookmarkType, lang) }); $(document).on("click", ".icon-bookmark-redirect-to-login-article", function () { let bookmarkButton = $(this); let bookmarkArticleId = bookmarkButton.attr("data-news-article-id"); let bookmarkArticleType = bookmarkButton.attr("data-news-article-type"); GlobalFunctions.SaveToLocalStorageAndRedirectToLogin(bookmarkArticleId, bookmarkArticleType, lang) }); $(document).on("click", "#logout-button", function () { LogOutCall() }); function LogOutCall() { let apiUrl = `${originBaseUrl}/Umbraco/api/ProfilePageController/HandleLogout`; const requestOptions = { method: "GET", headers: { "Content-Type": "application/json" } }; fetch(apiUrl, requestOptions).then(response => { if (!response.ok) { throw new Error("Network response was not ok") } return response.json() }).then(responseData => { window.location.href = "/" + lang + "/home" })["catch"](error => { console.error("Error:", error) }) } });

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.