Next.js Discord

Discord Forum

Weird console.log message (*** websiteRoot ***)

Answered
Himalayan posted this in #help-forum
Open in Discord
Original message was deleted.
Answered by Rafael Almeida
may you try opening the page in an incognito window? it might be from a browser extension, content.js is a common name for a content script
View full answer

24 Replies

Can you look up that string in your codebase? Also what external libraries are you using and since when did you notice this happening?
Himalayan
@Himalayan Click to see attachment
That's not helpful, this is the code after it has gone through the compiler...
You need to look up that string in your project folder. If you're using VS Code you can easily do it by clicking on the lens icon in the left sidebar
Himalayan
yeah i looked for it and i cant find it
i dont even remember adding it
its just weird
Then it's coming from an external library
Himalayan
hmmmm
When did you start getting this log message? Have you added a new package recently?
Himalayan
no
i dont use a lot of packages
Could you try looking it up in the node_modules folder?
Himalayan
yeah im doing right now
may you try opening the page in an incognito window? it might be from a browser extension, content.js is a common name for a content script
Answer
Himalayan
damn
chrome extension
:surprisingly_confused:
took me 1 hour
@Rafael Almeida@not-milo.tsx ty tho
✌🏻
Sometimes you also see hydration errors popping up due to extensions messing around with your page structure... (nordpass is notorious for doing this)
Himalayan
yeah
its better to work in Incognito from now on ig