Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Capture screenshot of all open tabs

  • 2 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 cor-el

more options

Since Firefox 18 a user can take a screenshot of an open tab by pressing shift+f2 and running screenshot --fullpage. Can the Firefox terminal be used to take a screenshot of all currently open tabs?

Since Firefox 18 a user can take a screenshot of an open tab by pressing shift+f2 and running screenshot --fullpage. Can the Firefox terminal be used to take a screenshot of all currently open tabs?

所有回覆 (2)

more options

I don't think so.

more options

See also:

Note that you can also use the Web Console ("3-bar" menu button or Tools -> Web Developer) and set to show the screenshot button on its toolbar.

You would have to cycle through all open tabs and then issue the screenshot command in each tab to achieve this. Cycling through tabs is not to difficult to do via the Browser Console. You can store the screenshot on the clipboard and save the image file yourself. The most difficult would be to know when one screenshot has finished so you know to proceed to the next tab.


var {classes:Cc,interfaces:Ci,utils:Cu} = Components;
var wm = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator);
var gB = wm.getMostRecentWindow("navigator:browser").gBrowser;

var l = gB.mPanelContainer.childNodes.length,i;
for(var i=0;i<l;i++){
cD=gB.getBrowserAtIndex(i).contentDocument;

/* more code */
}