web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

help.twitch.tv - site is not usable

Open freaktechnik opened this issue 6 years ago • 5 comments

URL: https://help.twitch.tv/s/article/hype-train-guide?language=en_US

Browser / Version: Firefox Mobile 74.0 (Firefox Preview Nightly) Operating System: Android 8.1.0 Tested Another Browser: No

Problem type: Site is not usable Description: Only shows a popup saying browser is not supported Steps to Reproduce: Tried to read a help article, however the help site decided to be helpful with a "browser not supported" popup. Even though there's a "Got It" button, it just reloads the popup.

Browser Configuration
  • None

From webcompat.com with ❤️

freaktechnik avatar Jan 11 '20 14:01 freaktechnik

Able to reproduce this issue.

mozilla829 avatar Jan 12 '20 04:01 mozilla829

This is the known doNotShowUnsupportedBrowserModal

       (function() {
            var templateType = "home";
            var doNotShowUnsupportedBrowserModal = false;
            
            if (templateType === "login") {
                return;
            }
                        
            if (!doNotShowUnsupportedBrowserModal) {
                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}", "This browser won't play nicely with 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();
                });
            }
            
            function closeModal() {
                var modal = document.getElementById("community-browser-not-support-message");
                if (modal) {
                    document.body.removeChild(modal);   
                }                
            }
        }());

karlcow avatar Jan 17 '20 05:01 karlcow

@ksy36 fixed the previous ones with https://bugzilla.mozilla.org/show_bug.cgi?id=1577245

karlcow avatar Jan 17 '20 05:01 karlcow

Added https://bugzilla.mozilla.org/show_bug.cgi?id=1609986

ksy36 avatar Jan 17 '20 17:01 ksy36

This is fixed now.

miketaylr avatar Aug 07 '20 15:08 miketaylr