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?
Related
Using Chrome dev tools, how to get exact screenshot at exact time to share
Open devtools-on-devtools:
switch devtools docking mode to a separate window in the devtools settings three-dot icon.
(when this option is activated you can use CtrlShiftD to toggle docked/undocked state)
invoke devtools-for-devtools by pressing CtrlShifti in windows or ⌥⌘I in mac when devtools window is focused
Now, in this new devtools-for-devtools window:
open Application tab
expand/open Frames - top - Images
click any image URL on the left to view it
right-click the image itself and choose Save
repeat 3-4
To find the URL of currently shown screenshot:
click the corresponding green bar in Frames strip under screenshot thumbnail strip
use element selector CtrlShiftC in devtools-for-devtools and click the mini-screenshot at the bottom of the main devtools window
now devtools-for-devtools will show <img> element in the Elements tree, rightclick its data:image/png and Open in Application panel, then save it.
I use vim and Firefox + Vimperator, now I want to be able to create page screenshots with Vimperator by a single Vimperator command to create a thumbnail of websites later.
Vimperator seems to not have a screenshot functionality. I know you can do it through the debugger or the developer Toolbar using Shift+F2 to open it and then screenshot --fullpage and I even can open the Toolbar using Vimperator, but I didn't manage to input something there.
I tried with the sequence <S-F2><CR>screenshot, but after the Toolbar loads, Vimperator already ran all following commands (screenshot) as a sequence in normal mode.
How can I achieve taking website screenshots using a single Vimperator command?
Update:
I experimented a bit more and almost achieved a workaround using this sequence:
<S-F2>:js liberator.sleep(300)<CR><S-F2>screenshot --fullpage<CR> where
<S-F2> opens the Developer Toolbar
:js liberator.sleep(300)<CR> take a break to let firefox load the toolbar (could probably be lower than 300ms)
<S-F2> to again gain focus of the toolbar
screenshot --fullpage just input in the toolbar
The problem that occurs now is that I can not 'enter' with <CR> as the toolbar does not recognize any input. Only if I manually enter a whitespace it realizes the screenshot input and lets me 'send' the command.
Of course I am also open to other workarounds not using the Developer Toolbar.
How do I dock the Browser Console window in Firefox?
The Browser Console currently opens in a separate window. I'd prefer for it to be docked to the bottom of the main window.
There's a similar question for Firebug.
There is no stock way to dock the Browser Console to a specific window. The Browser Console is for the entirety of the Firefox browser. What it shows is not limited to a single window. Thus, from a user interface point of view, it does not make sense to have it be docked to a single window.
It might be possible to create an add-on which opens an equivalent page that is in a bottom bar.
The best I could do was manually to dock Browser Console window and Firefox window in my desktop environment (Gnome on Fedora) so that they are both visible when debugging.
I don't know of any way with the built-in console. However, the 'Web Developer Extension' add-on console has toggles to dock to a window, but also several additional useful layouts.
When I restart firefox using the developer console, i press shift+F2 and then I write
restart
in the command line that comes up at the bottom and press ENTER.
This is of course a very useful feature, every window dissapears and comes back, but each restarted window will also have the developer console opened as if I was pressing shift+F2 on everyone of them.
Why?
The Developer Toolbar is a global thing, just like any other toolbar (e.g. Nav Bar or Bookmarks Bar). Firefox will remember the visiblity state and will restore it when opening new windows, either the usual way, or after a restart.
Just close the toolbar in one window, and it will be closed in every other window as well.
So every time I run a debug from my development IDE and Firefox is called to display my app, I get my app displayed in a new Firefox tab. That means one new tab every time I start a debug session and before long I've got 10-20 Firefox tabs open.
Can I have it so it reuses the existing tab open?
I could only find Firefox command line options to open new windows etc, not to use the current window/tab.
Just in case the above link disappears, it details going to the about:config screen in Firefox (just enter about:config in address bar) and changing the value of 'browser.link.open_newwindow' from 3 to 1.