feature_request(browsers): different messages for browsers
See original GitHub issue#325 — related issue.
1. Summary
It would be nice, if would be possible use different messages for different browsers.
2. Argumentation
I don’t want support any Internet Explorer version on my sites, arguments — 1, 2.
Also, I don’t support outdated versions of another browsers.
I need use different messages — browser unsupported
and browser outdated
, — but I can’t find, how I can do it, use browser-update.
3. Example
Messages:
If Internet Explorer:
Similar as in @josselex comment — Internet Explorer is not supported on this page, we recommend you to use an additional other browser for the best experience on this page
.
else outdated version of another browser:
Similar as default message — Your web browser {brow_name} is out of date. Update your browser for more security, speed and best experience on this site
Thanks.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (3 by maintainers)
Top GitHub Comments
@josselex, ping. Examples:
Thanks.
@josselex,
Status: Implemented with problem 🌔
1. Testing
1.1. Environment
BrowserStack — free plan for open source.
1.2. Script
Also, I increased font size, because on mobile devices browser-update message too small:
2. Priority problem
During testing, I found that, in my opinion, currently, browser-update haven’t the best priority for
text
options.2.1. Data
For example, we have 3 options for Edge:
text_in_ru
text_for_e_in_ru
text_for_e
2.2. Desired behavior
text_for_e_in_ru
— this is the most specific setting, it must have high priority. That is, thetext_for_e_in_ru
value must be displayed, even we havetext_for_e
and/ortext_in_ru
.text_for_e
.text_in_ru
— common option for any browsers on Russian;text_for_e
— specifically for Edge. But good web developer must addtext_for_e_in_ru
, if he already hastext_for_e
andtext_in_ru
.text_in_ru
— the lowest priority of three.2.3. Current behavior
text_in_ru
text_for_e
text_for_e_in_ru
3. Tests results
If there are no additional comments, then everything is fine.
3.1. Windows 10, Firefox 77.0.1 (32-bit)
3.2. Windows 10, Internet Explorer 11.329.19041.0
3.3. Samsung Galaxy S10+, UC Browser v.12.10.2.1164
Also, see original font size without
font-size 2rem
:I think, it would be nice to increase font size and icons (for example, 2 times) for mobile devices.
3.4. iPhone 7, iOS v.10
Unfortunately, browser-update didn’t work for me in the latest iPhone version on BrowserStack at the moment — iPhone 11 Pro Max, iOS v.13:
3.5. Mac OS X Catalina 10.15.6. 64-bit, Opera 67.0.3575.31, Russian language
Unfortunately, browser-update didn’t work for me for the latest Opera version at the moment — Opera 70.0.3728.71.
3.6. Windows 10, Chrome 77.0.3865.75 (Official Build) (64-bit)
3.7. Mac OS X Catalina 10.15.6. 64-bit, Edge 81.0.416.53 (Official build) (64-bit), Russian language
Current behavior:
Desired behavior:
See «Priority problem» section of this comment for details.
Thanks.