title: Word add-in for Word desktop(win + macOS) only. How to deal with Word online? Especially in validation
body: <h3>Firstly</h3>
  
  <p>I noticed a question <a href="https://stackoverflow.com/questions/41869321/office-add-in-for-word-desktop-only">Office add-in for Word desktop only</a>, which is very helpful.</p>
  
  <p>And I found these code can distinguish the hosts:</p>
  
  <pre><code>if (Microsoft.Office.WebExtension.context.document instanceof OSF.DDA.WordWebApp) {
      // App running on the web
  } if (Microsoft.Office.WebExtension.context.document instanceof OSF.DDA.WordDocument) {
      // App running in desktop
  }
  </code></pre>
  
  <h3>Secondly</h3>
  
  <p>From that answer, I know that I can't make add-in available only for Desktop version via manifest.</p>
  
  <p>But when I submitted in <a href="https://sellerdashboard.microsoft.com" rel="nofollow noreferrer">https://sellerdashboard.microsoft.com</a>, it said the add-in must support these platforms:</p>
  
  <blockquote>
    <ul>
    <li>Word 2016 or later</li>
    <li>Word Online</li>
    <li>Word 2016 for Mac</li>
    <li>Word for iPad</li>
    </ul>
  </blockquote>
  
  <h3>Thirdly</h3>
  
  <p>I don't need to support Word online. In the past few validations, there're always questions in Word online. Somehow I don't know the reason. And Word online (or one drive) page can not be opened well in my area (loading and loading and loading ...).</p>
  
  <h3>Finally</h3>
  
  <p>I want to know if I only shows a <code>not supported</code> page in Word online, will it pass the validation? Or I will get this again? Any advice?</p>
  
  <blockquote>
    <p>Your app or add-in must be fully functional
    with the supported operating systems, browsers, and
    devices for Office 2013, Office 2016, SharePoint
    2013, and Office 365.</p>
  </blockquote>
  
  <h3>Edit</h3>
  
  <p>OK, in consideration of the comments, I must edit this question.</p>
  
  <p>The last validation said that:</p>
  
  <blockquote>
    <p>We encountered an error in Word Online, when using your
    add-in in Internet Explorer 11 (Version: 11.0.9600) on
    Windows 7.
    We encountered the following “This page can’t be
    displayed” error after clicking login with the provided
    credential.</p>
  </blockquote>
  
  <p>But we cannot open Word Online via IE11 on Windows 7 (or 10) because the above reasons. Therefor I cannot address where the bug is. So we decided not to support online. And shows a page shows that <code>We are not support Word Online</code> when the add-in opened in Word online.</p>
  
  <p>Is that OK? What I can do to fix this?</p>
  
  <p>Thanks for the comments.</p>