Announcement

Collapse
No announcement yet.

Validator W3 Fails

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Validator W3 Fails

    Hi,

    I am trying to get my website to validate. The W3 validator reports this as an error: X-UA-Compatible HTTP header must have the value IE=edge, was IE=edge,chrome=1.

    https://validator.w3.org/nu/?showsou...tforums.org%2F

    Could someone direct me on ridding of "chrome=1?

    Thanks,
    William

  • #2
    The chrome=1 is to provide compatibility with the Chrome Frame addon in older versions of IE.

    However, you should be able to remove it by editing the Header template. We do not test for validation against that tool but how the software works in different browsers. When possible, we do remove browser specific tags.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

    Comment


    • #3
      Originally posted by Wayne Luke View Post
      The chrome=1 is to provide compatibility with the Chrome Frame addon in older versions of IE.

      However, you should be able to remove it by editing the Header template. We do not test for validation against that tool but how the software works in different browsers. When possible, we do remove browser specific tags.
      Can't find it anywhere. I also searched templates but come up with nothing.

      Comment


      • #4
        Sorry. It is actually in the function setHeaders() in the /includes/vb5/applicationabstract.php file.

        I've created a JIRA to have it removed since we do not plan to support IE8 and IE9 in the future.

        http://tracker.vbulletin.com/browse/VBV-18213
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud customization and demonstration site.
        vBulletin 5 Documentation - Updated every Friday. Report issues here.
        vBulletin 5 API - Full / Mobile
        I am not currently available for vB Messenger Chats.

        Comment


      • #5
        I'm so close. Two more errors:

        1. Warning: The type attribute is unnecessary for JavaScript resources.

          From line 8, column 1; to line 8, column 61

          n.css" />↩<script type="text/javascript" src="js/header-rollup-540.js"></scri
        2. Warning: The type attribute is unnecessary for JavaScript resources.

          From line 3595, column 1; to line 3595, column 61

          </script>↩<script type="text/javascript" src="js/footer-rollup-540.js"></scri
        I need to remove two instances of type="text/javascript" and my site will be w3c compliant.

        Only problem is that I cannot find these last two instances. I've searched the templates but these last two do not appear.

        https://validator.w3.org/nu/?showsou...tforums.org%2F

        Any help?

        Comment


        • #6
          They are in the pre-header template. The version number is added dynamically so you search for: js/header-rollup

          However, doing this is probably unwise - it's not supported, and you're editing templates which may change in future upgrades.

          There is no need to be 100% w3c compliant. It's a meaningless goal. The aim should be to have the site display correctly in all standards-compliant browsers, which it does.
          MARK.B | vBULLETIN SUPPORT

          TalkNewsUK - My vBulletin 5.5.2 Demo
          AdminAmmo - My Cloud Demo

          Comment


          • #7
            It should be noted that we can inject CSS and Javascript rollups via vBulletin Template Code and they won't necessarily be in the templates but generated at run-time.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud customization and demonstration site.
            vBulletin 5 Documentation - Updated every Friday. Report issues here.
            vBulletin 5 API - Full / Mobile
            I am not currently available for vB Messenger Chats.

            Comment

            Related Topics

            Collapse

            Working...
            X