Detect if the user is surfing Brave browser in Angular
up vote
-1
down vote
favorite
As I found out Brave browser's user agent string is the same as Chrome's. Is there any other identifier in the window object maybe which can tell me that the user is on Brave? Or any feature which is available under Brave only?
Thanks.
javascript angular user-agent brave
add a comment |
up vote
-1
down vote
favorite
As I found out Brave browser's user agent string is the same as Chrome's. Is there any other identifier in the window object maybe which can tell me that the user is on Brave? Or any feature which is available under Brave only?
Thanks.
javascript angular user-agent brave
Found this with a simple web search: ctrl.blog/entry/brave-user-agent-detection
– Peter B
Nov 13 at 18:03
@PeterB I'm in Angular and injecting iFrames and other DOM manipulation is against Angular's ideology.
– cycero
Nov 13 at 18:07
1
Angular is just a library and there is nothing (at least IMO) that prevents you from doing plain JS/HTML/DOM in cases where it is useful. The iframe can usedisplay: none
and no one will ever know it's there.
– Peter B
Nov 13 at 18:31
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
As I found out Brave browser's user agent string is the same as Chrome's. Is there any other identifier in the window object maybe which can tell me that the user is on Brave? Or any feature which is available under Brave only?
Thanks.
javascript angular user-agent brave
As I found out Brave browser's user agent string is the same as Chrome's. Is there any other identifier in the window object maybe which can tell me that the user is on Brave? Or any feature which is available under Brave only?
Thanks.
javascript angular user-agent brave
javascript angular user-agent brave
edited Nov 13 at 18:15
ngChaitanya
25418
25418
asked Nov 13 at 17:55
cycero
1,914164165
1,914164165
Found this with a simple web search: ctrl.blog/entry/brave-user-agent-detection
– Peter B
Nov 13 at 18:03
@PeterB I'm in Angular and injecting iFrames and other DOM manipulation is against Angular's ideology.
– cycero
Nov 13 at 18:07
1
Angular is just a library and there is nothing (at least IMO) that prevents you from doing plain JS/HTML/DOM in cases where it is useful. The iframe can usedisplay: none
and no one will ever know it's there.
– Peter B
Nov 13 at 18:31
add a comment |
Found this with a simple web search: ctrl.blog/entry/brave-user-agent-detection
– Peter B
Nov 13 at 18:03
@PeterB I'm in Angular and injecting iFrames and other DOM manipulation is against Angular's ideology.
– cycero
Nov 13 at 18:07
1
Angular is just a library and there is nothing (at least IMO) that prevents you from doing plain JS/HTML/DOM in cases where it is useful. The iframe can usedisplay: none
and no one will ever know it's there.
– Peter B
Nov 13 at 18:31
Found this with a simple web search: ctrl.blog/entry/brave-user-agent-detection
– Peter B
Nov 13 at 18:03
Found this with a simple web search: ctrl.blog/entry/brave-user-agent-detection
– Peter B
Nov 13 at 18:03
@PeterB I'm in Angular and injecting iFrames and other DOM manipulation is against Angular's ideology.
– cycero
Nov 13 at 18:07
@PeterB I'm in Angular and injecting iFrames and other DOM manipulation is against Angular's ideology.
– cycero
Nov 13 at 18:07
1
1
Angular is just a library and there is nothing (at least IMO) that prevents you from doing plain JS/HTML/DOM in cases where it is useful. The iframe can use
display: none
and no one will ever know it's there.– Peter B
Nov 13 at 18:31
Angular is just a library and there is nothing (at least IMO) that prevents you from doing plain JS/HTML/DOM in cases where it is useful. The iframe can use
display: none
and no one will ever know it's there.– Peter B
Nov 13 at 18:31
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53286908%2fdetect-if-the-user-is-surfing-brave-browser-in-angular%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Found this with a simple web search: ctrl.blog/entry/brave-user-agent-detection
– Peter B
Nov 13 at 18:03
@PeterB I'm in Angular and injecting iFrames and other DOM manipulation is against Angular's ideology.
– cycero
Nov 13 at 18:07
1
Angular is just a library and there is nothing (at least IMO) that prevents you from doing plain JS/HTML/DOM in cases where it is useful. The iframe can use
display: none
and no one will ever know it's there.– Peter B
Nov 13 at 18:31