PageSourceSearch

https://www.hondahanbai-minamitohoku.co.jp/common-js/hm.dcs.js

js hondahanbai-minamitohoku.co.jp collected 2026-09-30 22:44:24 UTC 1,753 bytes, 47 lines download raw bytes

1function dcs(code, _tab, _kyoten, _width, _height) {
2    dcs_core( code, _tab, _kyoten, _width, _height );
3}
4function dcs2(code, _tab, _kyoten, _width, _height){
5    dcs_core( code, _tab, _kyoten, _width, _height );
6}
7
8function dcs_core( code, _tab, _kyoten, _width, _height ){
9    if (!code) {
10        alert('dcsƒGƒ‰[ : ”̎ЃR[ƒh‚ð“ü—Í‚µ‚Ä‚­‚¾‚³‚¢');
11    } else if (code.length != 7 && code.length != 8) {
12        alert('dcsƒGƒ‰[ : ”̎ЃR[ƒh‚𐳂µ‚­Ý’肵‚Ä‚­‚¾‚³‚¢');
13    } else {
14
15        var dcsUA = window.navigator.userAgent.toLowerCase();
16        var isiOS = dcsUA.indexOf('iphone') > -1 || dcsUA.indexOf('ipad') > -1 || dcsUA.indexOf('macintosh') > -1 && 'ontouchend' in document;
17
18
19        if (code.length == 7) {
20            var hojin_cd  = code,
21                kanban_no = "1";
22        } else {
23            var hojin_cd  = code.substr(0,7),
24                kanban_no = code.substr(-1);
25        }
26
27        var tab_kbn     = _tab      ? '&tab_kbn='   + String(_tab)      : '',
28            kyoten_cd   = _kyoten   ? '&kyoten_cd=' + String(_kyoten)   : '',
29            kanban_no   = kanban_no ? '&kanban_no=' + String(kanban_no) : '',
30            open_option = "",
31            url         = 'https://connect.honda.co.jp/support/select_dealer?hojin_cd=' + hojin_cd + kanban_no + kyoten_cd + tab_kbn;
32
33        if (_width || _height) {
34
35            var width  = _width  || 900,
36                height = _height || 690;
37
38            open_option = 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=' + width + ',height=' + height;
39        }
40
41        if (!isiOS) {
42            dcsWin = window.open(url,'dcs'+code,open_option);
43        } else {
44            window.location.href = url;
45        }
46    }
47}

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.