1
편집을 계산 : 나는 (한 단계 더 갈 :)파이어 폭스 스크립트 언어 : 활성 탭의 URL 및 오픈 탭을
의사 코드 (내가 원하는)
if (CurrentTabURL == empty Tab) and (Tab.Count == 1)
{close Firefox}
else
{close Tab}
내 코드를 할 수있었습니다 만 문이 작동하지 않는 경우. 두 조치는) 작업
if (gBrowser.currentURI == "")
and (tabbrowser.browsers.length == 1)
then
goQuitApplication();
else
gBrowser.removeTab(gBrowser.mCurrentTab);
end
는 나에게 많은 도움이되었습니다.