Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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 */
}