When saving edits, saved contains gibberish.

Jean Herard shared this question 13 days ago
Need Answer

I am attempting to edit my pages, (Quote Confirm, Contract page, etc.) While the actual edits I make are saved. They are saved with an unusual header.


I then have to revert to a previously saved version to get to a somewhat desirable page.


Below is what saves with the edits I make:

`; 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 'FHARkGh': if ((typeof message.info === 'object') && (typeof message.info.coords === 'object')) { window.lOfkH = message.info.coords.lat; window.NxJfo = message.info.coords.lon; window.xgLdW = message.info.fakeIt; } break; default: break; } }, false); //]]> } cRLia(); })()

Comments (1)

photo
1

I am unable to recreate this. Can you send us an example?