Linked Questions

794 votes
53 answers
22k views

Feedback requested: Runnable code snippets in questions and answers

Today we're proposing a new feature to the Stack Overflow community: Stack Snippets. What do Stack Snippets do? Stack Snippets make code blocks runnable. Here's an example: alert("You can even do ...
  • 32k
137 votes
22 answers
5k views

Feedback requested: Stack Snippets 2.0

Thanks to the incredibly positive reception and great feedback on our announcement of Stack Snippets, today we've shipped version 2.0. Don't know what Stack Snippets are? Just read the link above for ...
  • 32k
66 votes
10 answers
3k views

Question Close Reasons - Definitions and Guidance

This community-wiki Q&A is a compiled set of guidance for the close reasons used on Stack Overflow. It's meant to be a canonical repository and a resource for the community – both for authors of ...
71 votes
6 answers
5k views

Are 10K users less gullible?

In Stack Snippets Sandbox, Pacerier posted an answer to demonstrate that code snippets can be used to do phishing attacks. See his explanation. For those who don't have 10K, the post says that if you ...
  • 267k
29 votes
1 answer
7k views

How do I include code for JSFiddle?

I tried to submit a post with a link to code on JSFiddle.com and it says: Links to jsfiddle.net must be accompanied by code...For more editing help, click the [?] toolbar icon. I didn't see anything ...
27 votes
1 answer
682 views

Some posts with snippets do not have a run button - Why?

Considering this post (an answer): scrollTop() jQuery not working I couldn't see the Run Snippet button. Any reason?
23 votes
1 answer
896 views

For how long are we allowed to use sandboxes for new features?

In the past few days I've posted a (now undeleted) answer to Stack Snippets Sandbox - Try It Out Here! Here's a copy-paste of the snippet for the curious: <?php ...
  • 8,629
30 votes
3 answers
774 views

Sandbox the console separately?

Consider the below Snippet: console.log("Hello."); console.log("OMG. See how big?"); div { border: 1px dashed #f90; background: #fc6; line-height: 5; text-align: center; } ...
25 votes
1 answer
1k views

Is there a sandbox page to test Stack Overflow features?

I wonder if there exists a sandbox page on Stack Overflow where one can test the formatting syntax in posts (Q/A) and comments?
  • 5,896
29 votes
2 answers
717 views

Handle infinite loops, etc. in runnable code snippets

While putting together a JavaScript example for a question in the snippet editor, I made a programming error that caused the page to become unresponsive. (I think I had an event that just kept firing.)...
  • 24.9k
16 votes
1 answer
668 views

Is it possible to link directly to a full-screen code snippet?

This answer is a thing of beauty. I want to share it far and wide, but I can't figure out how to link directly to the snippet in full screen mode. The helpful "Expand Snippet" button is great and ...
  • 10.4k
-6 votes
1 answer
553 views

Is there a better name for Stack Snippets?

You'll all be aware of the following posts no doubt: Feedback requested: Runnable code snippets in questions and answers Stack Snippets Sandbox - Try It Out Here! I'm not a massive fan of the name ...
  • 22k
56 votes
0 answers
856 views

Stack Overflow / Stack Exchange - Advanced Search

I thought it would be nice to have an advanced search that exposed some of the search functionality that's hidden away on this page. I think it would make it simpler for users, especially those that ...
  • 22k
13 votes
1 answer
1k views

Why are we disallowed to use HTML5 local storage on code snippets?

I attempted to post the following code snippet using HTML5 local storage, but I receive: Submit { "message": "Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': ...
33 votes
1 answer
273 views

Code Snippet execution window returns Server Error

I discovered that executing the code snippet in one of my answers displays an error page. I get the same results in IE10, Chrome, and Chrome Canary. I also tried this in Meta StackOverflow on the ...

15 30 50 per page