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

I posted this snippet of code as an answer to a question on StackOverflow:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" 
    type="text/javascript" charset="utf-8"></script>

When I posted it, I got a message that said Stack Overflow works best with jQuery enabled, leading me to think that whatever script protection that's built in was disabling the wrong jQuery. I'm not sure if this is a known issue or a won't-be-fixed issue, I just thought I'd bring it up in case no one else had.

EDIT: Here's a screenshot of the message I get after posting (it happened with this question too):

Screenshot of the issue

Browser: Chrome 11, OS: Mac OS 10.6

share|improve this question
    
I've seen this message before because an extension I have sometimes screws with it, but this one is no-repro for me. –  John Apr 8 '11 at 2:31
    
I just posted my browser information and disabled all my extensions and I was still able to reproduce this issue. Are you using the same browser/OS? –  Jimmy Sawczuk Apr 8 '11 at 2:36
1  
Chrome 11 is in beta, we don't support beta browsers...as they're often their bug, not ours....which is the case here. –  Nick Craver Apr 8 '11 at 2:39
    
Fair enough - feel free to close this if necessary. –  Jimmy Sawczuk Apr 8 '11 at 2:40
1  
@Jimmy: No. Chrome 10 and Ubuntu 10.04 here. –  John Apr 8 '11 at 2:44
    
No repro with Chrome 11.0.696.34 beta on Ubuntu 10.10. –  uɐɯsO uɐɥʇɐN Apr 8 '11 at 3:23
1  
I can reproduce in Win7 Chrome 10 latest –  michal kralik Apr 8 '11 at 21:26
1  
This can happen in Safari too, see December 2010 comments here. –  Arjan Apr 28 '11 at 8:01
    
@Jon, I guess it's actually a WebKit thing. (Or at least: the same can happen in Safari.) –  Arjan May 4 '11 at 17:08
    
@Arjan: Okay; I'm not familiar enough with this. My aim was to put a tag on it so future issues can be tracked for when the browser is out of beta (like we did with the IE9 tag). Could you retag to make it appropriate? Thanks. –  Jon Seigel May 4 '11 at 17:10
1  
Even more, Chrome 11 is the current version, @Jon, no longer a beta ;-) (I'll see if I can find some confirmation about WebKit.) –  Arjan May 4 '11 at 17:17
    
I think the point here is that the SE sites used to work on any accused browsers, so it’s not the browsers, it’s the site. –  Synetech Jul 23 '11 at 18:30

1 Answer 1

I could repro it in my chrome 12 dev too, but I think this is chrome 11+? specific, because of XSS Protection Heuristic algorithm, which rejects scripts that included when you submit the form data.

enter image description here

(Stack Overflow also using jQuery1.5.1 at the moment)

If you change version of jQuery to 1.5.2 or 1.5 in your post, it won't happen.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js" 
    type="text/javascript" charset="utf-8"></script>
share|improve this answer
3  
I hope that XSS protection is a little smarter by the time they release. –  balpha Apr 8 '11 at 7:10
    
@balpha, yep, they could have checked that as special case like "if the script data, send through form request, already included in original page, let the script run", but don't know there is flaws in my idea though. –  YOU Apr 8 '11 at 7:13
    
Similar things can happen in Safari too, see December 2010 comments here. –  Arjan Apr 28 '11 at 8:02
    
I just got this in Chrome 17.0.963.46 beta-m in suggesting an edit to meta.stackexchange.com/questions/122141/… -- same thing shown in console, too. –  SamB Feb 13 '12 at 23:51

You must log in to answer this question.

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