secure.smartshoppymac.com Open in urlscan Pro
172.67.195.108  Public Scan

URL: http://secure.smartshoppymac.com/servicejs/components/js/?key=auframe&source=pr-1552&isn=800&group=UXYrbWU4RG9yWmxnUUhDblZNMFp3QT09
Submission: On September 16 via api from IT — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

if ((typeof _webhelper_source == 'undefined' || typeof _webhelper_source.SOURCE == 'undefined') && document.getElementById('_webhelper_source')) {
    _webhelper_source = JSON.parse(document.getElementById('_webhelper_source').value);
}

if (typeof _webhelper_source !== 'undefined' && typeof _webhelper_source.GUID !== 'undefined' && typeof _webhelper_source.SOURCE !== 'undefined' && _webhelper_source.GUID != 'NONE') {
    var storage;
    var fail;
    var uid;
    try {
        uid = new Date;
        (storage = window.localStorage).setItem(uid, uid);
        fail = storage.getItem(uid) != uid;
        storage.removeItem(uid);
        fail && (storage = false);
    } catch (exception) {}

    if (storage) {
        var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
        var eventer = window[eventMethod];
        var messageEvent = eventMethod == "attachEvent" ? "onmessage" : "message";
        eventer(messageEvent,function(message) {
            if (message.origin.indexOf(_webhelper_source.BRAND.toLowerCase()) == -1) {
                return;
            }
            var messageObj = JSON.parse(message.data);
            if (messageObj.reason == "firstInit") {
                if (window.wtfiredfi) {
                    return;
                }
                window.wtfiredfi = true;
            }
            var machineId = "";
            if(typeof _webhelper_source.MACHINEID !== 'undefined') {
                machineId = _webhelper_source.MACHINEID;
            }
            if (messageObj.reportHit && messageObj.reason) {
                var url = '//track.securesrv12.com/admin/reportActiveUserHit.php?clickid=' + encodeURIComponent(_webhelper_source.GUID) +
                    '&c3=' + encodeURIComponent(machineId) +
                    '&brand=' + encodeURIComponent(_webhelper_source.BRAND) +
                    '&source=' + encodeURIComponent(_webhelper_source.SOURCE) +
                    '&reason=' + encodeURIComponent(messageObj.reason);
                var i = document.createElement('img');
                i.src = url;
                i.style.display='none';
                (document.getElementsByTagName('body')[0]).appendChild(i);
            }
        });
        var iframe = document.createElement('iframe');
        iframe.src = '//secure.'+_webhelper_source.BRAND.toLowerCase()+'mac.com/servicejs/components/auframe/?';
        iframe.style.display = 'none';
        document.body.appendChild(iframe);
    }
}