Ad Widget

Collapse

Disable browser warning

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HullZabbix
    Senior Member
    • Feb 2011
    • 104

    #1

    Disable browser warning

    Is it possible to disable the warning before logging in to zabbix?

    Even when users have IE8/9 they still get the warning. Fairly annoying!

  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    disable msie compatibility mode. it is advertising itself to zabbix as msie6
    Zabbix 3.0 Network Monitoring book

    Comment

    • 0siris
      Member
      Zabbix Certified Specialist
      • Nov 2010
      • 76

      #3
      recently, a colleague of mine had the same problem going on (not zabbix-related though). Turned off the compatibility mode, still had problems. Turned out that somehow internet explorer was still advertising it as IE 6.0. even after turning off compatibility mode.
      This fixed it for him:

      Check your browser's "User Agent String" here:
      Understand what information is contained in a curl user agent string. Get an analysis of your or any other user agent string. Find lists of user agent strings from browsers, crawlers, spiders, bots, validators and others..


      Find the correct "User Agent String" for your setup here:
      Understand what information is contained in a user agent string. Get an analysis of your or any other user agent string. Find lists of user agent strings from browsers, crawlers, spiders, bots, validators and others..



      How to prevent the modification of your "User Agent String".

      1. Open this key:

      [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet Settings\User Agent\Post Platform]

      then delete any "User Agent String" found. Next,
      right-click it and select Permissions.

      2. Click the "Advanced" button.

      3. Un-tick the box "Inherit from parent the permission
      entries..." and tick the box "Replace permissions on
      all child objects..."

      4. In the window with all the accounts listed, left-click
      below them and drag the mouse, highlighting them all,
      except "SYSTEM". Click the "Remove" button.

      5. Click on the account, "SYSTEM" to highlight it then
      click the "Edit..." button. Disable all except "Read".

      6. Apply, OK, OK.

      7. If it's not correct, enter the "User Agent String" for
      your setup here:

      [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet Settings]
      "User Agent"="Mozilla/4.0 (compatible; MSIE 8.0; Win32)"

      Of course, a better solution would be to ditch IE for a better browser

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        Originally posted by 0siris
        Of course, a better solution would be to ditch IE for a better browser
        at least the instructions would be shorter for that one =)
        Zabbix 3.0 Network Monitoring book

        Comment

        • HullZabbix
          Senior Member
          • Feb 2011
          • 104

          #5
          I appreciate the guide 0siris but I can't really go changing the reg keys for an entire office due to a small annoyance like this.

          Is there a way to disable the warning on zabbix itself?

          I use firefox myself, but unfortunately we're a MS gold partner and develop software mainly for IE. So for the office, ditching isn't an option

          Comment

          • HullZabbix
            Senior Member
            • Feb 2011
            • 104

            #6
            Anyone have any ideas?

            Comment

            • richlv
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Oct 2005
              • 3112

              #7
              fixing a browser so it doesn't lie is the proper solution of course...

              you could also hack the zabbix frontend - just comment out the part at the bottom of js/browsers.js (beware, you will have to do that whenever you upgrade the frontend)
              Zabbix 3.0 Network Monitoring book

              Comment

              • HullZabbix
                Senior Member
                • Feb 2011
                • 104

                #8
                Originally posted by richlv
                fixing a browser so it doesn't lie is the proper solution of course...

                you could also hack the zabbix frontend - just comment out the part at the bottom of js/browsers.js (beware, you will have to do that whenever you upgrade the frontend)
                Fantastic, thanks for your help

                As a note my IE 9 looks OK on the website above, but I still get the warning:

                Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)

                My reg key is:
                Mozilla/4.0 (compatible; MSIE 8.0; Win32)
                Last edited by HullZabbix; 25-06-2012, 17:06.

                Comment

                • Alex_SYB
                  Senior Member
                  • Feb 2012
                  • 133

                  #9
                  hi

                  Me. its rather annoying and a pain that you can't turn it of at the server. Or atleast if its done once to by pass it after that

                  Comment

                  • richlv
                    Senior Member
                    Zabbix Certified Trainer
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Oct 2005
                    • 3112

                    #10
                    at least one known issue of msie9 switching to compatibility mode was solved by telling it not to do that - https://support.zabbix.com/browse/ZBX-5422
                    Zabbix 3.0 Network Monitoring book

                    Comment

                    • r83939
                      Junior Member
                      • Apr 2015
                      • 1

                      #11
                      I got it when using IE 6.0.
                      Commenting on the following lines in the file ~/zabbix/js/browsers.js solved it.

                      if (document.cookie.indexOf('browserwarning_ignore') < 0) {
                      if (IE6 || IE7 || KQ) {
                      window.location.replace('');
                      }
                      }

                      Comment

                      Working...