question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 commentInternet 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:open
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Kristinitacommented, Feb 18, 2019

@josselex, ping. Examples:

  • For Opera Mini users it would be nice to show content from this and this links
  • For Internet Explorer users — this and this

Thanks.

0reactions
Kristinitacommented, Sep 16, 2020

@josselex,

Status: Implemented with problem 🌔

1. Testing

1.1. Environment

BrowserStackfree plan for open source.

1.2. Script

$buoop =
    required:
        f: 4147
        i: 4147
        uc: 4147
        ios: 4147
        c: -2
        o: 4147
    reminder: 0
    api: 2020.09
    text: 'Kira Goddess! Test 1 — Any outdated browser'
    text_for_i: 'Kira Goddess! Test 2 — Internet Explorer'
    text_for_uc: 'Kira Goddess! Test 3 — UC Browser'
    text_for_ios: 'Kira Goddess! Test 4 — iOS'
    text_in_ru: 'Кира Богиня! Test 5 — Russian language'
    text_for_c: 'Kira Goddess! Test 6 — Chrome'
    text_for_o_in_ru: 'Кира Богиня! Test 7 — Edge in Russian'

$buo_f = ->
    e = document.createElement('script')
    e.src = 'https://browser-update.org/update.min.js'
    document.body.appendChild e
    return

try
    document.addEventListener 'DOMContentLoaded', $buo_f, false
catch e
    window.attachEvent 'onload', $buo_f

Also, I increased font size, because on mobile devices browser-update message too small:

div.buorg
    font-size 2rem

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:

  1. text_in_ru
  2. text_for_e_in_ru
  3. text_for_e

2.2. Desired behavior

  1. text_for_e_in_ru — this is the most specific setting, it must have high priority. That is, the text_for_e_in_ru value must be displayed, even we have text_for_e and/or text_in_ru.
  2. Further, in my opinion, should be text_for_e. text_in_ru — common option for any browsers on Russian; text_for_e — specifically for Edge. But good web developer must add text_for_e_in_ru, if he already has text_for_e and text_in_ru.
  3. text_in_ru — the lowest priority of three.

2.3. Current behavior

  1. text_in_ru
  2. text_for_e
  3. 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)

Firefox

3.2. Windows 10, Internet Explorer 11.329.19041.0

Internet Explorer

3.3. Samsung Galaxy S10+, UC Browser v.12.10.2.1164

UC Browser

Also, see original font size without font-size 2rem:

UC Browser original

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

iOS

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:

iPhone 11

3.5. Mac OS X Catalina 10.15.6. 64-bit, Opera 67.0.3575.31, Russian language

Opera Russian

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)

Chrome

3.7. Mac OS X Catalina 10.15.6. 64-bit, Edge 81.0.416.53 (Official build) (64-bit), Russian language

  1. Current behavior:

    Edge Current

  2. Desired behavior:

    Edge Expected

See «Priority problem» section of this comment for details.

Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature request: Allow linking to external browser from Alexa app ...
This is an issue since a login page may want to allow the user to sign up through a separate web page or...
Read more >
107006 - Feature request: ability to replay a previously made ...
Many developers have been asking for a way to "replay" an existing request, so that they don't have to dig into curl-like solutions...
Read more >
KeePass Discussion - Multiple Browsers - SourceForge
KeePass Discussion · A lightweight and easy-to-use password manager · KeePass & Multiple Browsers - feature request.
Read more >
[Feature Request] Open saved logins in selected browser ...
The app is suddenly drowning in feature bloat. And yet, the ability to choose the browser for each Login would be another feature....
Read more >
7.0 and 7.2 Feature Request : Alloy Editor Link Creator + Page ...
This is because the main focus of the "browse icon" in the editors link UI opens a modal that defaults to a file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found