>>462
ほい

executeInBackground(() => {
getCurrentWindow().then(w => {
if(w.state == "normal" || w.state == "maximized") {
browser.windows.update(w.id,{state: "fullscreen"});
}else{
browser.windows.update(w.id,{state: "normal"});
}
});
}, []);

通常ウィンドウと最大化ウィンドウからフルスクリーンに出来る
フルスクリーン状態で同じジェスチャをすると通常ウィンドウに戻る