PageSourceSearch

https://learnmorestudy.com.tw/wp-content/plugins/woomp/includes/payuni/assets/my-account.js?ver=1.1.8

js learnmorestudy.com.tw collected 2026-10-02 16:09:59 UTC 903 bytes, 38 lines download raw bytes

1jQuery(function ($) {
2	$(document).ready(function () {
3		$('a.payuni-refund').click(function (e) {
4			$(this).text('退款中...')
5			$(this).css('pointer-events', 'none')
6			$(this).css('background-color', '#ccc')
7			e.preventDefault();
8			urlParams = new URLSearchParams($(this).attr('href'));
9			orderId = urlParams.get('order_id');
10			amount = urlParams.get('amount');
11
12			if(!orderId||!amount){
13				return;
14			}
15
16			var data = {
17				action: "payuni_refund",
18				nonce: payuni_my_account_script_params.ajax_nonce,
19				user_id: payuni_my_account_script_params.user_id,
20				order_id: orderId,
21				amount: amount,
22			};
23
24			console.log(data)
25
26			$.ajax({
27				url: payuni_my_account_script_params.ajax_url,
28				data: data,
29				type: 'POST',
30				dataType: "json",
31				success: function (data) {
32					alert(data)
33					window.location.reload();
34				},
35			})
36		})
37	})
38})

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.