Why is code appearing on top of my website?

emberanddahlia
Tourist
10 0 2

Hi! So for some reason a code is showing on top of my website on the desktop

Code Showing :

"); } else { win._boomrl = function() { bootstrap(); }; if (win.addEventListener) { win.addEventListener("load", win._boomrl, false); } else if (win.attachEvent) { win.attachEvent("onload", win._boomrl); } } doc.close(); } var link = document.createElement("link"); if (link.relList && typeof link.relList.supports === "function" && link.relList.supports("preload") && ("as" in link)) { window.BOOMR.snippetMethod = "p"; link.href = window.BOOMR.url; link.rel = "preload"; link.as = "script"; link.addEventListener("load", promote); link.addEventListener("error", function() { iframeLoader(true); }); setTimeout(function() { if (!promoted) { iframeLoader(true); } }, LOADER_TIMEOUT); BOOMR_lstart = new Date().getTime(); parentNode.appendChild(link); } else { iframeLoader(false); } function boomerangSaveLoadTime(e) { window.BOOMR_onload = (e && e.timeStamp) || new Date().getTime(); } if (window.addEventListener) { window.addEventListener("load", boomerangSaveLoadTime, false); } else if (window.attachEvent) { window.attachEvent("onload", boomerangSaveLoadTime); } if (document.addEventListener) { document.addEventListener("onBoomerangLoaded", function(e) { e.detail.BOOMR.init({ ResourceTiming: { enabled: true, trackedResourceTypes: ["script", "img", "css"] }, }); e.detail.BOOMR.t_end = new Date().getTime(); }); } else if (document.attachEvent) { document.attachEvent("onpropertychange", function(e) { if (!e) e=event; if (e.propertyName === "onBoomerangLoaded") { e.detail.BOOMR.init({ ResourceTiming: { enabled: true, trackedResourceTypes: ["script", "img", "css"] }, }); e.detail.BOOMR.t_end = new Date().getTime(); } }); } })();

 

I have not messed with coding, since I'm not experienced and I  don't want to break anything haha

but yeah has anyone seen this before, if so.. please help me!😭

 

NOTE: It was not there yesterday night and its showing up on Chrome and safari

Website: emberdahlia.com 

Screenshot 2023-12-07 at 11.18.34 AM.jpg

 

Thanks in advance 🙂

Replies 20 (20)

bertobartolo
Visitor
3 0 0

I am having the same issue, but it's only happening to my computer. I am not sure if I need to do something. 😕

emberanddahlia
Tourist
10 0 2

Yes I just realized that it's happening when I view any Shopify website

bertobartolo
Visitor
3 0 0

bertobartolo_0-1701989150205.png

This is what is showing up on my computer. It is not showing up on other people's computers. So I think it must be related to my web browser. 😕

emberanddahlia
Tourist
10 0 2

Mine just went away randomly! 

bertobartolo
Visitor
3 0 0

Did you do anything? Like delete your cache, and cookies, or use another browser?

emberanddahlia
Tourist
10 0 2

Hi! So I cleared my Chrome cache earlier that day, but that was not the solution because the code went away on Safari as well and I didn't clear Safari's.

EVentures
Tourist
4 0 3

Ran 4 different spyware apps on my system. None found anything. Finally discovered there was an app called SurftoEarn installed on my pc the day the problem started. Not sure where it came from. Definitely didn't knowingly download it. Once removed, the issue went away. Check to see if you have that app or something else installed the day the problem started for you.

tracesounds
Visitor
1 0 3

THIS^^!!!!! Thank you SO much. Did the same thing--ran several spyware scans, flushed my DNS, cleared cache. Nothing was working. Originally saw your comment and searched "SurftoEarn" on my PC and nothing came up. It wasn't until I went into Add or remove programs and boom, there it was. SurftoEarn. Uninstalled it and it fixed all my issues. 

VadaLee
Shopify Partner
2 0 1

Surftoearn ? ok so was it an app extension ? Or should I look actually in my windows program?

EVentures
Tourist
4 0 3

Check add/remove programs to see if it’s there.

ChaoticEden
Tourist
4 0 0

I should have responded sooner but, this was my issue. I didn't even know I had this installed. Thank you for the suggestion. 

Aaron19881
Tourist
3 0 1

MY HERO!!

ChaoticEden
Tourist
4 0 0

Yes! Thank you! I found the app as you directed and also cleared cookies in Chrome and Bam! Was driving me crazy. Thanks a million.

tmscott
Visitor
1 0 1

You are my HERO right now!!!! I was at my wits end trying to find this code in all the files . Absolutely had the surftoearn on my PC,,, WHO KNEW!! THANKS

 

visceralhome
Excursionist
11 1 2

OMG YOU HAVE SAVED THE DAYYYYYYYYYYYY. I have tried everything, this completely drove me INSANE. I cannot believe with the number of scans, searches, deleting, blah blah blah, "surf2earn" never came up. I didn't even know I had it! My mind is BLOWN thank you thank you thank you

kindly, taylor + connor robinson.
http://visceralhome.com

EVentures
Tourist
4 0 3

I'm having the same issue.  Mine just started today. I've checked other computers and the site looks fine, but it's happening in all my browsers. I really hope someone can answer this for us all.

emberanddahlia
Tourist
10 0 2

Mine just went away randomly!

EVentures
Tourist
4 0 3

Great! Hopefully mine will too then. Waiting impatiently. 

cgilmo78
Visitor
1 0 0

This is due to spyware on your PC.  Run some cleaners and it should improve.  

VadaLee
Shopify Partner
2 0 1

"); } else { win._boomrl = function() { bootstrap(); }; if (win.addEventListener) { win.addEventListener("load", win._boomrl, false); } else if (win.attachEvent) { win.attachEvent("onload", win._boomrl); } } doc.close(); } var link = document.createElement("link"); if (link.relList && typeof link.relList.supports === "function" && link.relList.supports("preload") && ("as" in link)) { window.BOOMR.snippetMethod = "p"; link.href = window.BOOMR.url; link.rel = "preload"; link.as = "script"; link.addEventListener("load", promote); link.addEventListener("error", function() { iframeLoader(true); }); setTimeout(function() { if (!promoted) { iframeLoader(true); } }, LOADER_TIMEOUT); BOOMR_lstart = new Date().getTime(); parentNode.appendChild(link); } else { iframeLoader(false); } function boomerangSaveLoadTime(e) { window.BOOMR_onload = (e && e.timeStamp) || new Date().getTime(); } if (window.addEventListener) { window.addEventListener("load", boomerangSaveLoadTime, false); } else if (window.attachEvent) { window.attachEvent("onload", boomerangSaveLoadTime); } if (document.addEventListener) { document.addEventListener("onBoomerangLoaded", function(e) { e.detail.BOOMR.init({ ResourceTiming: { enabled: true, trackedResourceTypes: ["script", "img", "css"] }, }); e.detail.BOOMR.t_end = new Date().getTime(); }); } else if (document.attachEvent) { document.attachEvent("onpropertychange", function(e) { if (!e) e=event; if (e.propertyName === "onBoomerangLoaded") { e.detail.BOOMR.init({ ResourceTiming: { enabled: true, trackedResourceTypes: ["script", "img", "css"] }, }); e.detail.BOOMR.t_end = new Date().getTime(); } }); } })();

 

mines doing same thing I went and put this into my browser to see if it would come up what it was i was assuming an app i had installed thru Shopify but since reading this feed I will go and clean and do the spyware as well as delete the app that (Tracesounds) said ill let you know cross your fingers!!!