What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 128 Stack Exchange communities.

I was looking for the XMLHttpRequest object in a source page of Stack Overflow and couldn't find one. So, I tried switching off JavaScript in my browser (Google Chrome) to confirm whether Stack Overflow uses Ajax and found this weird HTML tag, <div id="noscript-padding"></div>, rendered uninterpreted at the top of the page.

Enter image description here

Is that a bug?

share|improve this question
3  
SO isn't meant to be viewed without JS, so the fact that you saw odd things can't be helped. –  Asad Jun 10 '13 at 16:41
3  
@Asad: but then again the noscript id suggests that this was added specifically for JavaScript-less clients in mind, which kind of defeats the purpose. –  Joachim Sauer Jun 10 '13 at 16:45
7  
That is a webkit bug. Anything inside the <noscript> tag is treated as a text node when the page is loaded with JavaScript enabled. If you turn off JavaScript after the page is loaded, the <noscript> content may be shown as plain text. It is rendered correctly only when you load the page with JavaScript disabled. –  Antony Jun 10 '13 at 17:23
    
I normally see a red bar on the top saying that I have scripts disabled in browser. –  hjpotter92 Jun 10 '13 at 17:25
2  
...... element. –  Grant Thomas Jun 10 '13 at 18:30
add comment

1 Answer 1

up vote 7 down vote accepted

This is a bug in Chrome, where the content of the <noscript> tag is incorrectly interpreted as text the first time. It should be fine on subsequent refreshes, and there's not much that can be done about it on the Stack Exchange's end.

share|improve this answer
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .