PageSourceSearch

https://www2.americanhome.co.jp/oc/js/common.js

js americanhome.co.jp collected 2026-10-02 06:06:21 UTC 2,882 bytes, 56 lines download raw bytes

1/**********************************************************************
2ƒAƒƒŠƒJƒ“ƒz[ƒ€ : [ common.js ]
3
408.12.21
5***********************************************************************
6a variable : -
7a function : common_xxx
8**********************************************************************/
9
10with(document) {
11	write('<script type="text/javascript" src="/for_family/js/jquery-3.7.1.min.js"></script>');
12	write('<script type="text/javascript" src="/js/v10/common/jquerypatch.js"></script>');
13	write('<script type="text/javascript" src="/js/v10/common/propertytogule.js"></script>');
14	write('<script type="text/javascript" src="/js/v10/common/checkSubmitted.js"></script>');
15	
16	write('<script type="text/javascript" src="/oc/js/iepngfix_tilebg.js"></script>');
17	
18	write('<script type="text/javascript" src="/js/common.js"></script>');
19	write('<script type="text/javascript" src="/js/popwin.js"></script>');
20	write('<script type="text/javascript" src="/js/checkBrowserBack.js"></script>');
21}
22
23//=========================================================
24//ŽŸ”N“xŠTŽZ•ÛŒ¯—¿‚Ì‚²ˆÄ“à ƒ|ƒbƒvƒAƒbƒv‰æ–ʐݒè
25//=========================================================
26function popupCalcuForm(win_url,win_name){
27	var win_data ="toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,width=1020,height=870";
28	nw = window.open(win_url,win_name,win_data);
29	nw.focus();
30}
31
32const halfWidthKana = "¶Þ,·Þ,¸Þ,¹Þ,ºÞ,»Þ,¼Þ,½Þ,¾Þ,¿Þ,ÀÞ,ÁÞ,ÂÞ,ÃÞ,ÄÞ,ÊÞ,ËÞ,ÌÞ,ÍÞ,ÎÞ,Êß,Ëß,Ìß,Íß,Îß,³Þ,±,²,³,´,µ,¶,·,¸,¹,º,»,¼,½,¾,¿,À,Á,Â,Ã,Ä,Å,Æ,Ç,È,É,Ê,Ë,Ì,Í,Î,Ï,Ð,Ñ,Ò,Ó,Ô,Õ,Ö,×,Ø,Ù,Ú,Û,Ü,¦,Ý,§,¨,©,ª,«,¯,¬,­,®,°, ";
33const fullWidthKana = "ƒK,ƒM,ƒO,ƒQ,ƒS,ƒU,ƒW,ƒY,ƒ[,ƒ],ƒ_,ƒa,ƒd,ƒf,ƒh,ƒo,ƒr,ƒu,ƒx,ƒ{,ƒp,ƒs,ƒv,ƒy,ƒ|,ƒ”,ƒA,ƒC,ƒE,ƒG,ƒI,ƒJ,ƒL,ƒN,ƒP,ƒR,ƒT,ƒV,ƒX,ƒZ,ƒ\,ƒ^,ƒ`,ƒc,ƒe,ƒg,ƒi,ƒj,ƒk,ƒl,ƒm,ƒn,ƒq,ƒt,ƒw,ƒz,ƒ},ƒ~,ƒ€,ƒ,ƒ‚,ƒ„,ƒ†,ƒˆ,ƒ‰,ƒŠ,ƒ‹,ƒŒ,ƒ,ƒ,ƒ’,ƒ“,ƒ@,ƒB,ƒD,ƒF,ƒH,ƒb,ƒƒ,ƒ…,ƒ‡,[,@";
34const halfWKArr = halfWidthKana.split(',');
35const fullWKArr = fullWidthKana.split(',');
36
37//=========================================================
38//‘SŠp‚𔼊p‚ɕϊ·
39//=========================================================
40function convertToHalf(e) {
41  //e.value = e.value.normalize('NFKC');
42  e.value = e.value.replace(/[I-`]/g, halfwidthChar => String.fromCharCode(halfwidthChar.charCodeAt(0) - 0xfee0));
43  for (let i = 0; i < fullWKArr.length; i++) {
44	e.value = e.value.replace(new RegExp(fullWKArr[i], 'g'), halfWKArr[i]);
45  }
46}
47
48//=========================================================
49//”¼Šp‚ð‘SŠp‚ɕϊ·
50//=========================================================
51function convertToFull(e) {
52  for (let i = 0; i < halfWKArr.length; i++) {
53	e.value = e.value.replace(new RegExp(halfWKArr[i], 'g'), fullWKArr[i]);
54  }
55  e.value = e.value.replace(/[!-~]/g, fullwidthChar => String.fromCharCode(fullwidthChar.charCodeAt(0) + 0xfee0));
56}

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.