Now that Googlebot renders pages in a headless browser that fully renders pages similar to Chrome, does the order of code make any difference anymore?
I ask because I just got a query from someone with a top-of-page toolbar that shows in Facebook and in SERPS.
When I look, the toolbar DIV comes right after the <body> tag.
In the past, I would be confident that if you
1. placed the code at the bottom just before the </body>
2. made it display:none on page load and used window.onload or the document.ready() event to show it
You could be confident that Google would correctly parse this as unimportant content. Now I think it's a little less obvious.
Has anyone had things previously devalued using Source-Ordered Code start popping up in SERPs since Googlebot started behaving as a headless modern browser?