PageSourceSearch

https://security.nifty.com/common/js/tax.js

js nifty.com collected 2026-09-24 07:28:01 UTC 482 bytes, 17 lines download raw bytes

1// JavaScript Document
2const elems_list = document.querySelectorAll("[data-pricenum]");
3const elems = Array.prototype.slice.call(elems_list, 0);
4
5for(let i = 0; i < elems.length; i++){
6  let num = elems[i].getAttribute("data-pricenum");
7  num = Number(num.replace(/,/g, ''));
8
9  if (num == 0) {
10    // 0円の場合
11    elems[i].closest(".included-tax").innerHTML = "";
12  } else {
13    num = Math.floor(num * 1.1);
14    num = num.toLocaleString();
15    elems[i].innerHTML = num;
16  }
17}

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.