PageSourceSearch

https://www.og-cel.jp/common/js/ogad_source1_2.js

js og-cel.jp collected 2026-10-02 19:52:10 UTC 890 bytes, 24 lines download raw bytes

1function getQueryString(){
2	var res = new Array();
3	var args = window.location.href.slice(window.location.href.indexOf('?')+1).split('&');
4	
5	for(var i=0;i<args.length;i++ ) {
6		arg = args[i].split('=');
7		res[arg[0]] = decodeURIComponent(arg[1]);
8	}
9	return res;
10}
11
12$(function(){
13	var cName = 'ogad_source1';
14	var myDomain = '.osakagas.co.jp';
15	var period = 0;
16	var paramKeys = ['xadid','utm_source','utm_medium','utm_campaign','utm_content'];
17	var params = getQueryString();
18	
19	if(jQuery.grep(paramKeys,function(key){return params[key]?true:false}).length){
20		var str = escape(jQuery.map(paramKeys,function(e){return e+'='+(params[e]?escape(params[e]):'')}).join("&"));
21		var exp = period ? new Date(new Date().getTime()+60*60*24*1000*period).toGMTString() : "";
22		document.cookie = cName+'='+str+"; path=/; domain="+myDomain+(exp?"; expires="+exp+";":"");
23	}
24});

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.