PageSourceSearch

https://shop.afternoon-tea.net/js/search_genre_parameter.js

js afternoon-tea.net collected 2026-10-02 04:15:34 UTC 635 bytes, 21 lines download raw bytes

1jQuery(window).ready(function(){
2  
3  // パラメータがないURL
4  if ( document.URL.indexOf('&ps=') == -1 && document.URL.indexOf('&stk=') == -1 ) {
5    // ベースとなるURL
6    var baseUrl = window.location.href;
7    var gift = '?genre=gift-'
8    var tearoom = '?genre=tearoom-'
9
10    if ( document.URL.indexOf(gift) !== -1 || document.URL.indexOf(tearoom) !== -1 ) {
11      var newUrl = baseUrl + '&ps=80&stk=2';
12      window.location.href = newUrl;
13    }
14
15    if ( document.URL.endsWith('?genre=tearoom') ) {
16      var newUrl = baseUrl + '&ps=80&stk=2';
17      window.location.href = newUrl;
18    }
19
20  }
21});

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.