I am working on a website and I am having troubles telling google not to index one <div>
which is normally hidden (display: hidden;) on load because it is a popup (login popup). It is really bad when login popup goes right after tag because I usually store all popups at the beginning of body so content of it goes to description of my website in google search.
Do you have any ideas how can I hide it from google (maybe via javascript)?
EDIT: Thank you guys, you gave me a great solution with googleoff/on!