PageSourceSearch

https://courrier.jp/wp-content/themes/courrier/js/expat/module/utility.js

js courrier.jp collected 2026-10-02 04:39:44 UTC 522 bytes, 18 lines download raw bytes

1// 日付の変換
2function getPostDate(postedDate) {
3    var date = new Date(postedDate);
4    date.toUTCString();
5    var year = date.getFullYear();
6    var month = date.getMonth() + 1;;
7    var date = date.getDate();
8    return year + '.' + month + '.' + date;
9}
10
11function getDevice() {
12    var ua = navigator.userAgent;
13    if (ua.indexOf('iPhone') > 0 || ua.indexOf('iPod') > 0 || ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0) {
14        return 'sp';
15    } else {
16        return 'pc';
17    }
18};

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.