Skip to content
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

www.getvaccinated.gov.bc.ca - Page displays a "Browser unsupported" message #71406

Open
webcompat-bot opened this issue Apr 21, 2021 · 2 comments
Labels
action-needssitepatch This web bug needs a GoFaster site patch. browser-firefox-ios os-ios Issues only happening on iOS. priority-normal severity-minor The site has a cosmetic issue. type-uaoverride Require a UA override for working type-unsupported Doesn't support one or more browser
Milestone

Comments

@webcompat-bot
Copy link

webcompat-bot commented Apr 21, 2021

URL: https://www.getvaccinated.gov.bc.ca/s/

Browser / Version: Firefox iOS 33.0
Operating System: iOS 12.3.1
Tested Another Browser: Yes Safari

Problem type: Site is not usable
Description: Browser unsupported
Steps to Reproduce:
Pop up window declaring website is not supported. Site banner displays but nothing else

View the screenshot Screenshot
Browser Configuration
  • None

From webcompat.com with ❤️

@webcompat-bot webcompat-bot added the action-needsmoderation The moderation has not yet been completed label Apr 21, 2021
@webcompat-bot webcompat-bot added this to the needstriage milestone Apr 21, 2021
@webcompat-bot webcompat-bot added the browser-fixme This requires manual assignment for the browser name label Apr 21, 2021
@webcompat-bot webcompat-bot changed the title In the moderation queue. www.getvaccinated.gov.bc.ca - site is not usable Apr 21, 2021
@webcompat-bot webcompat-bot added browser-firefox engine-gecko The browser uses the Gecko rendering engine priority-normal and removed action-needsmoderation The moderation has not yet been completed browser-fixme This requires manual assignment for the browser name labels Apr 21, 2021
@softvision-raul-bucata softvision-raul-bucata added the os-ios Issues only happening on iOS. label Apr 21, 2021
@softvision-raul-bucata softvision-raul-bucata added severity-minor The site has a cosmetic issue. type-unsupported Doesn't support one or more browser browser-firefox-ios and removed browser-firefox engine-gecko The browser uses the Gecko rendering engine labels Apr 22, 2021
@softvision-raul-bucata softvision-raul-bucata changed the title www.getvaccinated.gov.bc.ca - site is not usable www.getvaccinated.gov.bc.ca - Page displays a "Browser unsupported" message Apr 22, 2021
@karlcow karlcow modified the milestones: needsdiagnosis, needscontact Apr 26, 2021
@webcompat-bot
Copy link
Author

@karlcow karlcow added action-needssitepatch This web bug needs a GoFaster site patch. type-uaoverride Require a UA override for working labels Apr 26, 2021
@karlcow
Copy link
Member

karlcow commented Apr 26, 2021

This is done server side through. This requires server side ua rewriting. They can be contacted and/or patched on firefox ios. This is the same

        (function() {
            var templateType = "home";
            var showUnsupportedBrowserModal = false;
            
            if (templateType === "login") {
                return;
            }
                        
            if (showUnsupportedBrowserModal) {
                var browserNotSupportedMessage = document.createElement("div");
                browserNotSupportedMessage.id = "community-browser-not-support-message";
                browserNotSupportedMessage.innerHTML = "<section role='alertdialog' tabindex='-1' aria-labelledby='prompt-heading-id' aria-describedby='prompt-message-wrapper'         class='slds-modal slds-fade-in-open slds-modal_prompt' aria-modal='true' style='color: rgb(62, 62, 60);'>   <div class='slds-modal__container'>       <header class='slds-modal__header slds-theme_info slds-theme_alert-texture'>           <h2 class='slds-text-heading_medium' id='prompt-heading-id'>{0}</h2>       </header>       <div class='slds-modal__content slds-p-around_medium' id='prompt-message-wrapper'>           <p>{1}</p>       </div>   <footer class='slds-modal__footer slds-theme_default'>               <button class='slds-button slds-button_neutral'>{GOT_IT_LABEL}</button>           </footer></div></section><div class='slds-backdrop slds-backdrop_open'></div>".replace("{0}", "Your browser isn't supported")
                                                                                              .replace("{1}", "Your browser doesn’t support some features on this site. For the best experience, update your browser to the latest version, or switch to another browser.")
                                                                                              .replace("{GOT_IT_LABEL}", "Got It");
                document.body.appendChild(browserNotSupportedMessage);
                var okButton = document.querySelector("#community-browser-not-support-message .slds-modal__footer .slds-button");
                okButton.addEventListener("click", function() {
                    closeModal();
                });
            }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action-needssitepatch This web bug needs a GoFaster site patch. browser-firefox-ios os-ios Issues only happening on iOS. priority-normal severity-minor The site has a cosmetic issue. type-uaoverride Require a UA override for working type-unsupported Doesn't support one or more browser
Projects
None yet
Development

No branches or pull requests

3 participants