Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [stack-snippets-console]

The virtual console displays `console.log()` entries inside a stack snippet. Use this tag for bug reports, feature requests, and discussions explicitly relevant to that console.

2
votes
0answers
29 views

Console on snippet going behind contents

I was googling for a code and I reached this Stack Overflow page. Owl Carousel on change not working I tried running the code in answer and it will log something in console in every slide change. ...
1
vote
0answers
28 views

Console destroy the Output screen

When something is logged in console, the scroll bar is not adjust automatically and hide the bottom of the Output screen. In the above image, I added a click Event Listener to the button to console ...
3
votes
2answers
184 views

“Show console” in “JavaScript/HTML/CSS snippet”

The advanced options in "JavaScript/HTML/CSS snippet" all have help icons except "Show console", so: Could you add a help icon there too? Can you describe here exactly what it does?
3
votes
0answers
299 views

Stack Overflow code snippet tool bug: `console.log` incorrectly reports missing array slot as undefined

The Stack Overflow code snippet tool produces an ambiguous and, depending on your definitions, incorrect output when using the JavaScript console.log command with an array that has missing slots, i.e. ...
5
votes
1answer
169 views

Why is there a script error in all Stack Snippets?

I am not sure whether this has been asked before or not, or if anyone else has this problem. I get this "script error" everytime I execute any script in the code snippet tool of Stack Overflow. I have ...
2
votes
0answers
319 views

Snippet console.log() return different value than browser console

Not sure why the console.log() in my snippet return different value of the browser developer console : You could see that it return an empty array [] instead of filled one like console below. The ...
4
votes
1answer
81 views

Define custom console logging for all Node objects

Currently, the virtual console defines a custom logging for HTMLElement objects, e.g. console.log(document.body); However, not all Element objects are HTMLElement, e.g. console.log(...
3
votes
0answers
39 views

The console should not display inherited properties

Currently, when you log an object to the virtual console, it shows all enumerable properties, both own and inherited. I think the inherited ones should be filtered out. Otherwise, the result can be ...
2
votes
1answer
242 views

Stop iterating objects using __proto__

http://stacksnippets.net/scripts/snippet-javascript-console.js uses this function function getProps(obj) { var props = []; do { for (var prop in obj) { if (props.indexOf(...
61
votes
12answers
899 views

Stack Snippets Upgrade: Virtual Console

It's been a long time since we worked on Stack Snippets. I'm sorry. It's mostly because I created it, then I got promoted to management, and now I don't code much anymore and nobody else has time to ...
199
votes
6answers
4k views

Add a console to Stack Snippets

Currently, to see console.log() entries from StackSnippets, you need to open your browser console, and make sure it's recording from frames. Things could be a lot simpler if you would add a console to ...