PageSourceSearch

https://www.crockettdoodles.com/wp-content/plugins/quantity-discou…/Assets/blocks_compatibility.js?ver=1.1

js crockettdoodles.com collected 2026-09-25 20:43:41 UTC 687 bytes, 24 lines download raw bytes

1const { registerCheckoutFilters } = window.wc.blocksCheckout;
2
3const modifyShowApplyCouponNotice = ( defaultValue, extensions, args ) => {
4
5	if (general_settings['plgfqdp_coupon_settings'] == 'plgfqdp_aply_nly_cpn') {
6		window.location.reload();
7		return false;
8	}
9
10	return defaultValue;
11};
12
13const modifyShowRemoveCouponNotice = ( defaultValue, extensions, args ) => {
14	if (general_settings['plgfqdp_coupon_settings'] == 'plgfqdp_aply_nly_cpn') {
15		window.location.reload();
16		return false;
17	}
18	return defaultValue;
19};
20
21registerCheckoutFilters( 'plugify_qdp_discount_data', {
22	showApplyCouponNotice: modifyShowApplyCouponNotice,
23	showRemoveCouponNotice: modifyShowRemoveCouponNotice,
24});

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.