let startDate = new Date(); let elapsedTime = 0; const focus = function() { startDate = new Date(); }; const blur = function() { const endDate = new Date(); const spentTime = endDate.getTime() - startDate.getTime(); elapsedTime += spentTime; }; const beforeunload = function() { const endDate = new Date(); const spentTime = endDate.getTime() - startDate.getTime(); elapsedTime += spentTime; // elapsedTime contains the time spent on page in milliseconds }; window.addEventListener('focus', focus); window.addEventListener('blur', blur); window.addEventListener('beforeunload', beforeunload);
top of page
CJul20-37.jpg

Claim Your Voucher

Please fill in the required info

Voucher: Feedback Form
Clicking on a Tablet

Voucher Claim Policy

Only one voucher per email id

Don't Overstate.

Voucher would be shared to the email id only if amazon purchase emailid  and Claim form email matches.

No Spamming

Make It Relevant

Please refrain from posting off-topic messages with unrelated content, with the intention of reaching users who would have otherwise not selected to intentionally consume such content.

No Trolling

Be Nice

Please refrain from deliberately addressing a forum user or users in such a way as to intentionally upset or frustrate them, through inflammatory, off-topic messages, or with the intention of disrupting normal discussions for personal amusement.

Voucher: Site Rules
  • LinkedIn
  • Facebook
bottom of page