PageSourceSearch

https://www.hec.gov.pk/Style%20Library/HEC/js/CustomJS/GetSiteTitle.js

js hec.gov.pk collected 2026-10-01 10:43:03 UTC 715 bytes, 32 lines download raw bytes

1$( document ).ready(function() {
2    	//getSiteTitle();
3    	$("#ShowNav").css("display", "none");
4		$("#ShowFooter").css("display", "none");
5		$("#breadCrumpNav").css("display","none");
6        $('body').css("padding" , 0);
7});
8
9var title;	
10var siteurl = _spPageContextInfo.webAbsoluteUrl;
11function getSiteTitle(){
12$.ajax({
13	url: siteurl + "/_api/web/title",
14	method: "GET",
15	headers: { "Accept": "application/json; odata=verbose" },
16	success: function (data) {
17	debugger;
18		title = data.d.Title;
19		if(title == "English"){
20		$("#ShowNav").css("display", "none");
21		$("#ShowFooter").css("display", "none");
22		}
23
24	},
25	error: function (data) {
26		alert("Error: "+ data);
27	}
28});
29}
30
31
32

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.