PageSourceSearch

https://wambooka.it/wp-content/plugins/express-checkout/includes/a…/js/ex-express-chekout-custom.js?ver=6.0.0

js wambooka.it collected 2026-09-29 13:55:19 UTC 2,413 bytes, 60 lines download raw bytes

1jQuery(function ($) {
2    if (ex_express_checkout.is_page_name == "single_product_page") {
3        jQuery(".single_add_to_cart_button.paypal_checkout_button").click(function () {
4            if (!$('.woocommerce-variation-add-to-cart').hasClass('woocommerce-variation-add-to-cart-disabled')) {
5                $('.cart').block({
6                    message: null,
7                    overlayCSS: {
8                        background: '#fff',
9                        opacity: 0.6
10                    }
11                });
12                var ec_action = $(this).data('action');
13                if (typeof ec_action === 'undefined' || ec_action === null) {
14                    ec_action = $(this).attr("href");
15                }
16                $('form.cart').attr('action', ec_action);
17                $(this).attr('disabled', 'disabled');
18                $('form.cart').submit();
19                return false;
20            }
21        });
22
23    } else if (ex_express_checkout.is_page_name == "checkout_page") {
24        jQuery("a.single_add_to_cart_button").click(function () {
25            block_div_to_payment();
26        });
27        var is_set_class = $("div").is(".express-provided-address");
28        if (is_set_class) {
29            jQuery('#express_checkout_button_chekout_page').hide();
30            jQuery('#express_checkout_button_text').hide();
31            jQuery('.woocommerce-message').hide();
32            jQuery('.woocommerce-info').hide();
33        }
34
35    } else if (ex_express_checkout.is_page_name == "cart_page") {
36        jQuery("a.single_add_to_cart_button.paypal_checkout_button").click(function () {
37            block_div_to_payment();
38        });
39    }
40
41    function block_div_to_payment() {
42        var ex_class = "";
43        if (ex_express_checkout.is_page_name == 'cart_page') {
44            ex_class = "div.wc-proceed-to-checkout";
45        } else if (ex_express_checkout.is_page_name == 'single_product_page') {
46            ex_class = "form.cart";
47        } else if (ex_express_checkout.is_page_name == 'checkout_page') {
48            ex_class = "div.woocommerce";
49        }
50        if (ex_class.toString().length > 0) {
51            $(ex_class).block({
52                message: null,
53                overlayCSS: {
54                    background: '#fff',
55                    opacity: 0.6
56                }
57            });
58        }
59    }
60});

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.