PageSourceSearch

https://m.thankqcamping.com/js/adropAd.js?version=20260924210649

js thankqcamping.com collected 2026-09-24 12:07:13 UTC 1,685 bytes, 52 lines download raw bytes

1(function($) {
2    $.adropAd = {
3
4		host: 'https://api-v2.adrop.io',
5
6		getAdropBanner : function(uid, objId, sessid, callback, errcallback) {
7
8			var url = this.host + "/request";
9
10			var obj = $("#" + objId);
11
12			$.ajax({
13		    	url: url,
14			    type: 'GET',
15			    data: {
16			        unit: uid,
17			        uid: sessid,
18			        pf: 'web'
19			    },
20			    headers: {
21			        'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6IjAxSjZSSlk3TjRIWkZaN1c3RUJSV0JUU0NOOjAxSjhNMUJNMEpSWDlTRjMwQkhHSlhaQ0ZNIiwia2V5VHlwZSI6MSwiaWF0IjoxNzI3MjQ5MzcxLCJleHAiOjI1MzQwMjEyODAwMH0.LEIgnP24QTwwcgDAktgRxPlUFAjzeE0J0C9WHOMNoHo'
22			    },
23			    success: function(response) {
24			        if (response.code === 0) {
25			        	var txt = response.result.ad
26			        	txt = txt.substring(txt.indexOf('href="')+6,txt.length)
27			        	var url = txt.substring(0,txt.indexOf('"'))
28			        	var ad_txt = response.result.ad.replace('target','itarget').replace(url,"javascript:outOpen('"+url+"');")
29			        	//alert(ad)
30			          //obj.html(response.result.ad);
31			          obj.html(ad_txt);
32			          if (callback != '' && callback != undefined) callback.call();
33			          obj.parent("li").show()
34
35								// Swiper update
36								if (typeof event_swiper !== "undefined") {
37									event_swiper.update();
38									event_swiper.slideTo(0);
39								}
40			        } else {
41			        	if (errcallback != '' && errcallback != undefined) errcallback.call();
42			        }
43			    },
44			    error: function(xhr, status, error) {
45			        console.error("Error:", status, error);
46			    }
47		    });
48		}
49
50
51    };
52})(jQuery);

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.