PageSourceSearch

https://catawbarubber.com/wp-content/plugins/return-shopping-cart/js/custom.js?ver=1

js catawbarubber.com collected 2026-10-04 02:22:50 UTC 1,140 bytes, 56 lines download raw bytes

1/**
2 * Greenwing Technology
3 *
4 * Custom javascript file for ajax call
5 *
6 * @package GreenwingTechnology
7 * @version 1.0.0
8 */
9
10jQuery( document ).ready(
11	function () {
12		jQuery( '#btnpost' ).click(
13			function (e) {
14				e.preventDefault();
15
16				jQuery.ajax(
17					{
18						headers: {
19							'X-CSRF-TOKEN': jQuery( 'meta[name="_token"]' ).attr( 'content' )
20						},
21						type : "POST",
22						dataType : "json",
23						url : "../../../wp-admin/admin-ajax.php",
24						data : {action: "get_data"},
25						success: function (response) {
26							console.log( response );
27							jQuery( location ).attr( 'href', response );
28						},
29					}
30				);
31
32			}
33		);
34	}
35);
36
37jQuery(
38	function ($) {
39		$( document ).ready(
40			function () {
41				$( '.closenewprod' ).bind(
42					'click',
43					function () {
44						var idset = $( this ).attr( 'id' );
45						if (idset != '') {
46							$( '#custId' ).val( idset );
47							$_SESSION['products'][idset] = '';
48							sessionStorage.setItem( 'custId',idset );
49						}
50						$( '.' + ($( this ).attr( 'id' )) ).css( 'display','none' );
51					}
52				);
53			}
54		);
55	}
56);

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.