-
Notifications
You must be signed in to change notification settings - Fork 941
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
Disable colors in Edge and Internet Explorer #489
Disable colors in Edge and Internet Explorer #489
Conversation
NOTE: I will be able to test my fork tomorrow Monday and will confirm here that it works (I hope). |
2 similar comments
Hi, I'm just using my fork in Edge. It works. Obviously, the Edge support for And we get rid of the ugly I hope you merge it. |
Please authors, any feedback/comment about this PR? debug module does not properly work in IE/Edge. This PR fixes that. Please, don't leave this PR open forever. |
Merged, thank you! |
THANKS!!! Finally I can remove my |
Well, not so fast, I should wait for a new release in NPM :) |
Check v3.0.1
…On Thu, Aug 24, 2017 at 12:42 PM, Iñaki Baz Castillo < ***@***.***> wrote:
Well, not so fast, I should wait for a new release in NPM :)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#489 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEWWBZ02LyE-1epPHXEnxmeHSjzwTViks5sbdIvgaJpZM4O8qne>
.
|
Awesome, thanks! 👍 |
top top top! |
Fixes #417
Both Internet Explorer and Edge report "AppleWebKit" in their
User-Agent
, so the currentuseColors()
function insrc/browser.js
returnstrue
(check my rationale about this here. But in fact, Edge and Internet Explorer do not support colors in the console.This PR checks whether the browser is Edge/IE and, if so, makes
useColors()
return false.NOTE: A good project for detecting browsers is bowser. In includes nice examples of how the
User-Agent
of many browsers looks like.