PageSourceSearch

https://sahelabi.com/Ascripts/SAB.js

js sahelabi.com collected 2026-10-02 23:52:56 UTC 2,567 bytes, 61 lines download raw bytes

1// JavaScript Document
2function CBM(title,url){
3	if (window.sidebar && window.sidebar.addPanel) // firefox
4	{
5		window.sidebar.addPanel(title, url, "");
6	}
7	else if(window.Opera && window.print){ // opera
8		 var elem = document.createElement('a');
9		 		elem.setAttribute('href',url);
10		 		elem.setAttribute('title',title);
11		 		elem.setAttribute('rel','sidebar');
12		 		elem.click();
13	}else if(document.all)// ie
14   		{window.external.AddFavorite(url, title);}
15	else
16		{alert('Please press Ctr+D');}
17}
18function MM_swapImgRestore() { //v3.0
19  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
20}
21function MM_preloadImages() { //v3.0
22  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
23    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
24    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
25}
26function MM_findObj(n, d) { //v4.01
27  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
28    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
29  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
30  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
31  if(!x && d.getElementById) x=d.getElementById(n); return x;
32}
33function MM_swapImage() { //v3.0
34  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
35   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
36}
37var refreshDelay = 1000;
38function createRequestObject() {
39    var ro;
40//    if(navigator.appName == "Microsoft Internet Explorer"){
41//        ro = new ActiveXObject("Microsoft.XMLHTTP");
42//    }else{
43        ro = new XMLHttpRequest();
44//    }
45    return ro;
46}
47var http = createRequestObject();
48//function sndReq() {
49//    http.open('get', 'https://sahelabi.com/menu/online.asp');
50//    http.onreadystatechange = handleResponse;
51//    http.send(null);
52//}
53//function handleResponse() {
54//    if(http.readyState == 4 && this.status == 200){
55//        var response = http.responseText;
56//        document.getElementById('intUserstarget').innerHTML = response;
57//		setTimeout(sndReq, refreshDelay);
58//}}
59//		setTimeout(sndReq, refreshDelay);
60//crisp
61//$crisp=[];CRISP_WEBSITE_ID="eb6d8640-8f94-4125-8463-f39b8ea4d227";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.im/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();

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.