PageSourceSearch

https://www.anet-yokyo.jp/js/back.js

js anet-yokyo.jp collected 2026-10-02 17:19:03 UTC 539 bytes, 20 lines download raw bytes

1function backToTop() {
2var x1 = x2 = x3 = 0;
3var y1 = y2 = y3 = 0;
4if (document.documentElement) {
5x1 = document.documentElement.scrollLeft || 0;
6y1 = document.documentElement.scrollTop || 0;
7}
8if (document.body) {
9x2 = document.body.scrollLeft || 0;
10y2 = document.body.scrollTop || 0;
11}
12x3 = window.scrollX || 0;
13y3 = window.scrollY || 0;
14var x = Math.max(x1, Math.max(x2, x3));
15var y = Math.max(y1, Math.max(y2, y3));
16window.scrollTo(Math.floor(x / 2), Math.floor(y / 2));
17if (x > 0 || y > 0) {
18window.setTimeout("backToTop()", 25);
19}
20} 

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.