News for hackers. Stuff that matters.
Re:Firefox 127 by bachmeier on Tuesday June 11, 2024 @11:09AM (#40647083)
> The Screenshots feature in Firefox has gotten a big update! It now supports taking screenshots of file types like SVG, XML, and more as well as various about: pages within Firefox. We've also made the screenshot tool more accessible to everyone by implementing new keyboard shortcuts and adding theme compatibility and High Contrast Mode (HCM) support. And finally, performance for capturing large screenshots has been improved.

I have no problem with this feature, but am curious if it brings any new functionality beyond existing screenshot tools.

Re:Firefox 127 by smoe on Tuesday June 11, 2024 @12:03PM (#40647939)
I use the Firefox screenshot tool quite a lot, mostly because it automatically snaps the region to DOM elements. This makes it less fiddly to take cleanly cropped screenshots of sections, especially if they don't entirely fit on the screen.

I'm not that knowledgeable about the screenshot tooling space, but I feel all my needs are covered with the default system one plus the Firefox screenshot tool for convenience in some cases.

Re:Firefox 127 by manuelmoreale on Tuesday June 11, 2024 @01:03PM (#40648771)
Maybe it's not the exact use case and maybe you know about this already but just in case, in the dev tools, if you right click on a node in the inspector you can directly take a screenshot of that specific node.
Re:Firefox 127 by troyvit on Tuesday June 11, 2024 @01:13PM (#40648889)
Yeah I also like how I can get a whole page pretty easily, even if the page is several screens long.
Re:Firefox 127 by rwmj on Tuesday June 11, 2024 @11:12AM (#40647129)
I actually used the screenshots feature for the first time (to illustrate my devconf.cz talk this week, do come, it's free!). The nice thing about it is that you can scroll the page while framing the screenshot, allowing you to take a shot of the whole page including everything below the fold. I think such a feature needs to be integrated into the browser.
Re:Firefox 127 by sgc on Tuesday June 11, 2024 @11:25AM (#40647336)
Just use `screenshot --fullpage` from the console. I usually do something like `screenshot --dpr 3 --fullpage` for a higher resolution image
Re:Firefox 127 by crtasm on Tuesday June 11, 2024 @11:57AM (#40647851)
Or rightclick on the page, Take Screenshot, Save full page button

the --dpr option sounds useful, I'll try that out.

Re:Firefox 127 by rwmj on Tuesday June 11, 2024 @11:27AM (#40647374)
"Console" being the Linux shell or the Firefox JS console? I don't understand how that could work from the shell.
Re:Firefox 127 by jonnybarnes on Tuesday June 11, 2024 @11:45AM (#40647672)
Yes, Console being the Firefox DevTools console
Re:Firefox 127 by aragilar on Wednesday June 12, 2024 @04:24AM (#40655813)
Is this different to the Web Developer console?
Re:Firefox 127 by _flux on Tuesday June 11, 2024 @11:20AM (#40647264)
> I think such a feature needs to be integrated into the browser.

It certainly helps/simplifies the problem, but I imagine in most cases a builtin image stitcher inside the screenshot tool could also work in great majority of cases. Infact I would expect someone have done that already..

Re:Firefox 127 by rwmj on Tuesday June 11, 2024 @11:22AM (#40647284)
Yeah, definitely possible. The firefox screenshot feature is fairly smoothly integrated and intuitive, a rare moment of clarity from their UI team.
Re:Firefox 127 by wildpeaks on Tuesday June 11, 2024 @11:24AM (#40647318)
I hope it fixes the "too long filename" issue that often prevents screenshots from being saved (e.g. tweets with long messages) because it seems to use the window title to generate the filename.
Re:Firefox 127 by jacoblambda on Tuesday June 11, 2024 @01:41PM (#40649240)
One really important one for even non-dev users is that it isn't affected by DRM protections.

Windows' screenshot tool nowadays blacks out any DRM content which makes screenshotting frames from a show, etc a royal pain in the ass, This is presumably because the tool can now also do video recording but either way it's very frustrating.

The firefox tool doesn't have that issue.