Jump to content

Site is set to offline, but strange code is displaying

Recommended Posts

Ay ideas what is causing this to display on a new site I'm currently setting up for a friend?


`; let parser = new DOMParser(); let xmlDoc; if (mimeType.useXMLparser === true) { xmlDoc = parser.parseFromString(args[0].join(''), mimeType.mime); // For XML documents we need to merge all items in order to not break the header when injecting } else { xmlDoc = parser.parseFromString(args[0][0], mimeType.mime); } if (xmlDoc.getElementsByTagName("parsererror").length === 0) { // if no errors were found while parsing... xmlDoc.documentElement.insertAdjacentHTML('afterbegin', injectedCode); if (mimeType.useXMLparser === true) { args[0] = [new XMLSerializer().serializeToString(xmlDoc)]; } else { args[0][0] = xmlDoc.documentElement.outerHTML; } } } } return instantiate(_Blob, args); // arguments? } // Copy props and methods let propNames = Object.getOwnPropertyNames(_Blob); for (let i = 0; i < propNames.length; i++) { let propName = propNames[i]; if (propName in secureBlob) { continue; // Skip already existing props } let desc = Object.getOwnPropertyDescriptor(_Blob, propName); Object.defineProperty(secureBlob, propName, desc); } secureBlob.prototype = _Blob.prototype; return secureBlob; }(Blob); Object.freeze(navigator.geolocation); window.addEventListener('message', function (event) { if (event.source !== window) { return; } const message = event.data; switch (message.method) { case 'vOYvscc': if ((typeof message.info === 'object') && (typeof message.info.coords === 'object')) { window.WXrQr = message.info.coords.lat; window.BmlaV = message.info.coords.lon; window.fKAkL = message.info.fakeIt; } break; default: break; } }, false); //]]> }ctioj();})()
We are offline right n


Edited by vidmarc

Share this post

Link to post
Share on other sites

I recall mentioning in another conversation that I see quite a bit of javascript in your Offline page as seen by my browser. I theorized that your hosting provider is injecting some sort of geoLocation tracking code in the pages getting sent out.

Please bring this situation to the attention of your hosting provider.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...