ads.seovietnam.pro Open in urlscan Pro
172.67.163.212  Public Scan

URL: https://ads.seovietnam.pro/ads/js/adx_phimxxx.js?ver=6.5.5
Submission: On June 29 via manual from VN — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

(function($) {
	$(document).ready(function() {
		var data_adx = {
			"top": [],
			"underplayer": [],
			"catfish": [],
			"button": [],
		};
		if(data_adx){
			if(data_adx.top.length){
				var html_adx_top = '';
				$.each(data_adx.top, function(index, value) {
				    html_adx_top += '<a target="_blank" href="'+value.link+'">';
				    html_adx_top += '<img class="alignnone" src="'+value.img+'" alt="'+value.alt+'" width="728" height="90">';
				    html_adx_top += '</a>';
				});
				$('#bannertop').html(html_adx_top);
			}
			if(data_adx.underplayer.length){
				var html_adx_underplayer = '';
				$.each(data_adx.underplayer, function(index, value) {
				    html_adx_underplayer += '<a target="_blank" href="'+value.link+'">';
				    html_adx_underplayer += '<img class="alignnone" src="'+value.img+'" alt="'+value.alt+'" width="728" height="90">';
				    html_adx_underplayer += '</a>';
				});
				$('#bannerunderplayer').html(html_adx_underplayer);
			}
			if(data_adx.catfish.length){
				var html_adx_catfish = '<div id="bannercatfish" class="bannerads">';
				html_adx_catfish +='';
				$.each(data_adx.catfish, function(index, value) {
				    html_adx_catfish += '<a target="_blank" href="'+value.link+'">';
				    html_adx_catfish += '<img class="alignnone" src="'+value.img+'" alt="'+value.alt+'" width="728" height="90">';
				    html_adx_catfish += '</a>';
				});
				html_adx_catfish +='<div class="closexx"><span class="xxclose">x</span></div>';
				html_adx_catfish +='</div>';
				$('#catfish').html(html_adx_catfish);
			}

			if(data_adx.button.length){
				function GeneratorAds(){
					var htmlads = '';
					$.each(data_adx.button, function(index, value) {
				    	htmlads += '<li class="randomcolor">';
				    	htmlads += `<a target="_blank" rel="nofollow" style="background:${getRandomColor()};" href="`+value.link+`">`+value.alt+`</a>`;
				    	htmlads += '</li>';
					});
					$('#adsbottom').html(htmlads);
				}

				GeneratorAds();

				setInterval(function() {
					GeneratorAds();
				}, 1500);
			}
		}

		function getRandomColor() {
			var letters = '0123456789ABCDEF';
						var color = '#';
			for (var i = 0; i < 6; i++) {
				color += letters[Math.floor(Math.random() * 16)];
			}
			return color;
		}

		$(document).on('click', '.closexx', function() {
			$('#catfish').hide();
		});

		// popup banner
			// function loadadx() {
			// 	let botdResult;
			// 	const botdPromise = import('https://openfpcdn.io/botd/v1').then((Botd) => Botd.load())
			// 	botdPromise.then((botd) => botd.detect()).then((result) => {
			// 		botdResult = result.bot;
			// 		handleBotdResult(botdResult);
			// 	}).catch((error) => console.error(error));
			// }

			// loadadx();

			// $(document).on('click', '.banner-preload-close a', function() {
			// 	var ckdt = Cookies.get('popxa');
			// 	if (!ckdt || ckdt =="undefined") {
			// 		ckk = Cookies.set('popxa', 1, { expires: 1});
			// 	} else {
			// 		ckk = Cookies.set('popxa', 2, { expires: 1});
			// 	}
			// 	$(".banner-preload").hide();
				
			// });
	        // $(document).on('click', '.wraplink1', function() {
		    //     var link = 'https://154.82.109.156/714902.html';
	        //     var ckdt = Cookies.get('popxa');
	        //     if (!ckdt || ckdt =="undefined") {
	        //         ckk = Cookies.set('popxa', 1, { expires: 1});
	        //         window.open(link, '_blank');
	        //     } else {
	        //         ckk = Cookies.set('popxa', 2, { expires: 1});
	        //         window.open(link, '_blank');
	        //     }
	        //     $(".banner-preload").hide();
	        // });
			// function handleBotdResult(result) {
			// 	if (result === false) {
			// 		var ckdt = Cookies.get('popxa');
			// 		if (!ckdt || ckdt =="undefined" || ckdt== 1) {
			// 			var html = `<div class="banner-preload">
			// 							<div class="banner-preload-container">
			// 								<div class="wraplink1">
			// 								</div>
			// 								<div class="wrapdatalink">
			// 								<a href="https://bb355.ku3933.net" target="_blank" rel="nofollow" data-wpel-link="external">
			// 									<img id="cc" src="https://imgcdn.henho24h.net/images/kuvippop">
			// 								</a>
			// 								<div class="banner-preload-close">
			// 									<a id="bb" href="https://154.82.109.156/714902.html"  target="_blank" rel="nofollow" data-wpel-link="external">X</a>
			// 								</div>
			// 								</div>
			// 							</div>
			// 						</div>`;
			// 			$(".adx1").html(html);
			// 		}
			// 	}
			// }
	});
})(jQuery)