title: Unload Extension Autodesk.FullScreen from Forge Viewer is not working
body: <p>Hello and thanks for taking time to read this,</p>
  <p>we developing an App with Autodesk Forge for displaying informations related to some specific components. In this context we disabled and unloaded a few Extensions which are preLoaded by the Forge Viewer. Which is similar to this <a href="https://stackoverflow.com/questions/59953285/how-do-i-unload-a-deafult-extension-in-forge-viewer">StackOverflow -- Unload Forge Extensions</a>.</p>
  <p>We also want to unload the 'Autodesk.FullScreen' und purpose of our Users. <a href="https://forge.autodesk.com/en/docs/viewer/v7/reference/Extensions/FullScreenExtension/" rel="nofollow noreferrer">https://forge.autodesk.com/en/docs/viewer/v7/reference/Extensions/FullScreenExtension/</a></p>
  <p>Following i added the Code we tried in Console of the Browser with the provided result:</p>
  <p>First we let us show the loaded extensions:</p>
  <pre><code>NOP_VIEWER.getLoadedExtensions()
  {Autodesk.BIM360.Minimap: l, BasicExtension: U, Autodesk.ViewCubeUi: Y, Autodesk.CompGeom: l, Autodesk.LayerManager: P, …}
  Autodesk.BIM360.Minimap: l {viewer: C, globalManager: e, setGlobalManager: ƒ, onSetGlobalManager: ƒ, getWindow: ƒ, …}
  Autodesk.BoxSelection: r {viewer: C, globalManager: e, setGlobalManager: ƒ, onSetGlobalManager: ƒ, getWindow: ƒ, …}
  Autodesk.CompGeom: l {viewer: C, globalManager: e, setGlobalManager: ƒ, onSetGlobalManager: ƒ, getWindow: ƒ, …}
  Autodesk.LayerManager: P {viewer: C, globalManager: e, setGlobalManager: ƒ, onSetGlobalManager: ƒ, getWindow: ƒ, …}
  Autodesk.Measure: Pe {viewer: C, globalManager: e, setGlobalManager: ƒ, onSetGlobalManager: ƒ, getWindow: ƒ, …}
  Autodesk.Section: _ {viewer: C, globalManager: e, setGlobalManager: ƒ, onSetGlobalManager: ƒ, getWindow: ƒ, …}
  Autodesk.Snapping: c {viewer: C, globalManager: e, setGlobalManager: ƒ, onSetGlobalManager: ƒ, getWindow: ƒ, …}
  Autodesk.ViewCubeUi: Y {viewer: C, globalManager: e, setGlobalManager: ƒ, onSetGlobalManager: ƒ, getWindow: ƒ, …}
  BasicExtension: U {viewer: C, extOptions: {…}, eventArgsTypeMap: {…}, eventStreams: Array(10), events: Array(10), …}
  [[Prototype]]: Object
  </code></pre>
  <p>Here we don't the the Autodesk.FullScreen Extensions which is a bit strange. Because it is definitly in the Toolbar and useable as you can see on the attached Image in the end of this Post...</p>
  <p>Optimistic as we are we try to unload it:</p>
  <pre><code>NOP_VIEWER.unloadExtension('Autodesk.FullScreen')
  false
  </code></pre>
  <p>As expected we getting a false... But nevermind to be sure we check if its loaded:</p>
  <pre><code>NOP_VIEWER.getExtension('Autodesk.FullScreen')
  null
  </code></pre>
  <p>As expected we getting a null back. But the Extension is still there and working?</p>
  <p>So what is the difference here to the other Extensions? Is it as designed? If it so, than the Documentation is missleading here. Maybe someone has a idea? Fun Fact you can see the same behaviour regarding to the 'Autodesk.ViewerSettings' Extension <a href="https://forge.autodesk.com/en/docs/viewer/v7/reference/Extensions/ViewerSettingsExtension/" rel="nofollow noreferrer">Autodesk Forge - Autodesk.ViewerSettings Extension</a></p>
  <p><a href="https://i.stack.imgur.com/3BKqd.png" rel="nofollow noreferrer">Showing Taskbar with Extensions</a></p>
  <p>Is there something different about this Extension? Can it be unloaded or is it in another Context and the complete Toolbar needs to be removed? Maybe to mention that the Button is unloaded on a Mobile Device by default. So there must be some working mechanism to unload it.</p>