So, we all know Google hates hidden elements, and rightly so. But I am curious, what if the element is present in DOM normally in the static form, but after page load, it is hidden by JavaScript? AFAIK Googlebot (and other bots for that matter) cannot interpret JavaScript, so they should not detect this tampering, right? And consider a case when it is not obvious keyword stuffing and spamming, but probably hidden text to be inserted in other part of the page on some relevant and solicited user event.
Are Googlebot and other search engine crawlers able to detect if element is hidden after page load by JavaScript?
javascript;web crawlers;googlebot;hidden text