PageSourceSearch

https://www.martin.jp/assets/include/pc-scrollnav.js

js martin.jp collected 2026-09-24 21:48:48 UTC 1,842 bytes, 45 lines download raw bytes

1'use strict';
2
3(function(){
4
5var counter = function(str,seq){
6  return str.split(seq).length - 1;
7}
8var pathRoot = '../';
9var numDirectry = counter(location.pathname,'/');
10if(/\/Music\/Info\//.test(location.pathname)){
11  numDirectry = numDirectry - 3;
12}
13switch (numDirectry) {
14  case 1: pathRoot = './'; break;
15  case 2: pathRoot = '../'; break;
16  case 3: pathRoot = '../../'; break;
17  case 4: pathRoot = '../../../'; break;
18}
19
20var html = ''+
21
22'    <nav class="menu scrollnav is-pc">'+
23'      <ul class="menu_list">'+
24'        <li class="m-top"><a href="'+pathRoot+'">TOP</a></li>'+
25'        <li class="m-info"><a href="'+pathRoot+'info/">INFO</a></li>'+
26'        <li class="m-disco"><a href="'+pathRoot+'discography/">DISCO</a></li>'+
27'        <li class="m-live"><a href="'+pathRoot+'live/">LIVE</a></li>'+
28'        <li class="m-media"><a href="'+pathRoot+'media/">MEDIA</a></li>'+
29'        <li class="m-profile"><a href="'+pathRoot+'profile/">PROFILE</a></li>'+
30'        <li class="m-link"><a href="'+pathRoot+'link/">LINKS</a></li>'+
31'        <li class="m-staffblog"><a href="https://ameblo.jp/suzuki-masayuki/" target="_blank">STAFFBLOG</a></li>'+
32'        <li class="m-goods"><a href="https://lovers922.base.ec/" target="_blank">GOODS</a></li>'+
33'        <li class="m-lovers"><a href="http://www.martin.co.jp/regist_request.htm" target="_blank">FANCLUB</a></li>'+
34'        <li class="m-login"><a href="http://www.martin.co.jp/fanclub_login.html" target="_blank">LOG IN</a></li>'+
35'        <li class="m-twitter"><a href="https://twitter.com/martin40_staff" target="_blank">STAFF Twitter</a></li>'+
36'        <li class="m-youtube"><a href="https://www.youtube.com/channel/UCUo8fGx9iLwNhpA0_XSPvfw" target="_blank">YouTube</a></li>'+
37'      </ul>'+
38'    </nav>';
39
40document.write(html);
41
42})();
43
44
45

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.