-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work in Chrome any more :( #13
Comments
😱 What version/OS you running? The demo is still working for me on Version 44.0.2403.130 (64-bit) OSX Yosemite! |
Doesn't work in Chrome - Version 45.0.2454.85 (64-bit) / OSX 10.10.5 |
Unfortunately it appears the fun is over :( https://code.google.com/p/chromium/issues/detail?id=495643 I believe the only way to get around would be to draw pixel-by-pixel... bonus of that would be that it would work in Firefox and Opera too ;) I think it would be intense on large images though. |
Just tried to do the pixel-by-pixel method; it's super slow, and could not get pixels to align properly. Better option might be to write a DevTools extension; |
😭 |
Yeah this line kills it: https://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/console/ConsoleViewMessage.js?pathrev=197345#l797 There's no way to specify an image without using |
the saddest day |
Think we might be back in business. https://docs.google.com/document/d/1FTascZXT9cxfetuPRT2eXPQKXui4nWFivUnS_335T3U/preview |
console.log([
" .-. Since it's not enabled by default,",
" /_ _\\ I think I shall just use ASCII Art.",
" |o^o| /",
" \\ _ /",
" .-'-'-.",
" /`) . (`\\",
"/ /|.-'-.|\\ \\",
"\\ \\| (_) |/ / .-\"\"-.",
" \\_\\'-.-'/_/ /[] _ _\\",
" /_/ \\_/ \\_\\ _|_o_LII|_",
" |'._.'| / | ==== | \\",
" | | | |_| ==== |_|",
" \\_|_/ ||\" || ||",
" |-|-| ||LI o ||",
" |_|_| ||'----'||",
" /_/ \\_\\ /__| |__\\"
].join("\n")); |
@daniellmb don't lose hope just yet. I think we're onto something because these custom formatters are awesome. Everybody will probably in the near future have them turned on and we'll be there to pounce. |
WhatWG is working to make some more standardizations surrounding window.console (good place to weigh in on console.image and why it's important): https://github.com/whatwg/console |
"As far as there are multiple different ways to detect opened devtools, (and we don't aim to fight with them ATM), closing this as WontFix." from: https://bugs.chromium.org/p/chromium/issues/detail?id=495643 hoorayy!! 🎉🎉🎉 |
The demo works with Version 63.0.3239. |
Is there an alternative way to display an image in the console nowadays? |
@leobenkel This method still works |
😢
The text was updated successfully, but these errors were encountered: