webcompat / web-bugs

A place to report bugs on websites.
https://webcompat.com
Mozilla Public License 2.0
740 stars 63 forks source link

ebsnew.boc.cn - site is not usable #105797

Open karlcow opened 2 years ago

karlcow commented 2 years ago

URL: https://ebsnew.boc.cn/boccp/login.html?entryType=9

Browser / Version: Firefox 103.0 Operating System: Mac OS X 10.15 Tested Another Browser: Yes Chrome

Problem type: Site is not usable Description: Browser unsupported Steps to Reproduce:

  1. Go to https://ebsnew.boc.cn/boccp/login.html?entryType=9

Expected: access a page of options.

Actual: a modal message on Safari and Firefox recommends to install a plugin.

The modal message comes from

  Common.secEditCtrl.isNewVersion() || (Common.LightBox.show(), $('body').append('templates/common/downloadSafetyControlPrompt.ejs', null, function () {
    var a = $('#download_safety_control_prompt_pop');
    CU.setObjAbsCenter(a),
    CU.changeLan(a),
    $('#btn_close_28610,.closewin').on('click', function (b) {
      Common.stopBubble(b),
      a.remove(),
      Common.LightBox.hide()
    })
  }))

which is full of browser sniffing

    isNewVersion: function () {
      var b = - 1 != window.VERSION.indexOf('BOCNETC-D-WENT_V01.00_B') ? 'B' : 'SP',
      c = !0;
      return a(),
      $.browser.msie ? c = j >= l.msie[b] : dojo.isSafari ? c = j >= l.mac[b] : $.browser.chrome && $.browser.version > 41 || (c = j >= l.other[b]),
      c
    }

and

function a() {
        $.browser.chrome && $.browser.version > 41 || $.browser.edge || k || ($.browser.msie ? c() : b(), k = !0)
    }
View the screenshot Screenshot
Browser Configuration
  • gfx.webrender.all: false
  • gfx.webrender.blob-images: true
  • gfx.webrender.enabled: false
  • image.mem.shared: true
  • buildID: 20220612214538
  • channel: nightly
  • hasTouchScreen: false
  • mixed active content blocked: false
  • mixed passive content blocked: false
  • tracking content blocked: false

View console log messages

From webcompat.com with ❤️

webcompat-bot commented 2 years ago

Generate outreach template