PageSourceSearch

https://senobiru-shop.jp/js/amazon_pay_v2.js?1741577576

js senobiru-shop.jp collected 2026-09-26 02:34:44 UTC 1,429 bytes, 42 lines download raw bytes

1window.addEventListener('DOMContentLoaded', () => {
2    const { $, Alert } = window.APP;
3
4    $(window).on('pageshow', function() {
5        if ($('#amazon_v2_agree').length) {
6            $('#amazon_pay_button_v2_click_area').css('pointer-events', 'none');
7            $('#amazon_v2_agree').prop('checked', false);
8
9            $('#amazon_v2_agree').click(function() {
10                var css_value = 'none';
11
12                if ($(this).prop('checked')) {
13                    css_value = 'auto';
14                }
15
16                $('#amazon_pay_button_v2_click_area').css('pointer-events', css_value);
17            });
18
19            $('#amazon_pay_button_v2').click(function() {
20                if (!$('#amazon_v2_agree').prop('checked')) {
21                    Alert.show('利用規約に同意することが必要です');
22                }
23            });
24        }
25
26        $('#amazon_v2_mailmaga_flg').click(function() {
27            var ajax_url = '/shopping/amazon_pay_ajax.php';
28            var params = {
29                action: 'registerAmazonV2MailmagaFlg',
30                amazon_v2_mailmaga_flg: $('#amazon_v2_mailmaga_flg:checked').val(),
31            };
32
33            $.ajax({
34                type        :   'post',
35                url         :   ajax_url,
36                data        :   params,
37                dataType    :   'json',
38                timeout     :   5000,
39            });
40        });
41    });
42});

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.