On 9/3/20 5:38 AM, Ant wrote:
https://www.rottentomatoes.com takes me to https://www.rottentomatoes.com/unsupported-browser?err=custom-elements,shadow-dom that says "To enjoy RottenTomatoes.com, try using a newer browser like Google Chrome, or Mozilla Firefox." I tried changing SeaMonkey v2.53.3's UA to Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0, but that didn't work. :(

What else to try? Thank you for reading and hopefully answering. :)

custom-elements: FF63+
shadow-dom: FF63+

However, with JS disabled the home page is shown.

The relevant feature detection code is
...
        name: 'custom-elements',
        detect: function () {
if (!('customElements' in window)) throw new Error('Custom elements not supported')
        }
      },
      {
        name: 'shadow-dom',
        detect: function () {
if (!Boolean(HTMLElement.prototype.attachShadow)) throw new Error('Shadow DOM not supported')
        }
      }
...

So one could provide NoScript surrogates to add a customElements attribute to window and a dummy attachShadow() to HTMLElement.prototype. Who knows how the JS will break then?

/df

--
London
UK
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to