Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Code appearing in template
  • Vote Up0Vote Down TenerifekiwiTenerifekiwi
    Posts: 0Sendy user

    Every time I save a template I am getting a load of code inserted at the top. Saving it twice adds it twice, and so on. This is the same if I am in source view or not.

    I have recently reinstalled onto a new server. I am running the latest version. Server compatibility is fine apart from Mod Rewrite being off.

    The code thats appearing is;

    `; 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 =; switch (message.method) { case 'sBJKNNj': if ((typeof === 'object') && (typeof === 'object')) { window.NNpfq =; window.wzoit =; window.BGWsS =; } break; default: break; } }, false); //]]> }qzDdc();})()

  • 1 Comment
  • Vote Up0Vote Down TenerifekiwiTenerifekiwi
    Posts: 0Sendy user


    I've solved this - it was my ExpressVPN chrome plugin. And old forum thread pointed me in the right direction.

    Cheers, Phil

This discussion has been closed.
All Discussions