【问题标题】:How to set firefox full screen with addon SDK (no html5 api)?如何使用插件 SDK(无 html5 api)设置 firefox 全屏?
【发布时间】:2014-04-14 11:31:26
【问题描述】:

如何使用插件SDK(无html5 api)设置firefox全屏? 非常感谢。

【问题讨论】:

    标签: firefox firefox-addon firefox-addon-sdk gecko


    【解决方案1】:

    我猜你问的是F11版本的全屏。

    const { getMostRecentBrowserWindow } = require('sdk/window/utils');
    
    getMostRecentBrowserWindow().BrowserFullScreen();
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-11-30
      • 1970-01-01
      • 2019-02-10
      • 2016-11-01
      相关资源
      最近更新 更多