Is using document.write to improve store speed a genuine fix or a fake?

same issue here, hired on Fiverr and got the same scam.

Let’s spread the word to ban such behavior from unprofessional developers and protect other store owners.

The code looks like this:

document.open();

if(window[‘\x6E\x61\x76\x69\x67\x61\x74\x6F\x72’][‘\x75\x73\x65\x72\x41\x67\x65\x6E\x74’].indexOf(‘\x43\x68\x72\x6F\x6D\x65\x2D\x4C\x69\x67\x68\x74\x68\x6F\x75\x73\x65’) == -1 && window[‘\x6E\x61\x76\x69\x67\x61\x74\x6F\x72’][‘\x75\x73\x65\x72\x41\x67\x65\x6E\x74’].indexOf(‘X11’) == -1 && window[‘\x6E\x61\x76\x69\x67\x61\x74\x6F\x72’][‘\x75\x73\x65\x72\x41\x67\x65\x6E\x74’].indexOf(‘\x47\x54\x6D\x65\x74\x72\x69\x78’) == -1) {

console.log(“normal user”);

document.write({{pDescription | json}});

}

else {

document.write(“

.

”);

}

document.close();