4 ms·
Firefox equivalent: firefox -screenshot file.png https://example.com --window-size=1280,720 A bit annoyingly, it won't work if you have Firefox already op
by input_sh 2y ago
Firefox equivalent:
firefox -screenshot file.png https://example.com --window-size=1280,720
A bit annoyingly, it won't work if you have Firefox already open.
- cmgriffing 2y agoLOL, you and I posted very similar replies at the same time.
- blueflow 2y ago> it won't work if you have Firefox already open now try and go ahead how you could isolate these instances so they cannot see each other. this leads into a rabbit hole of bad design.
- yjftsjthsd-h 2y ago> now try and go ahead how you could isolate these instances so they cannot see each other. this leads into a rabbit hole of bad design. Okay, done: PROFILEDIR="$(mktemp -d)" firefox --no-remote --profile "$PROFILEDIR" --screenshot $PWD/output.png https://xkcd.com rm -r "$PROFILEDIR" What's the rabbit hole?
- blueflow 2y agoWhats with the dbus interface?
- yjftsjthsd-h 2y agoWhat? (If you're trying to point out that two firefoxes are capable of talking to each other via system IPC, then yes, fully isolating any two programs on the same machine requires at least containers but probably full VMs, which has nothing to do with Firefox itself, and you'd need to explain why in this situation we should care)
- UnlockedSecrets 2y agoDoes it work if you use a different profile with -p?
- paulryanrogers 2y agoMaybe with --no-remote
- amelius 2y ago> A bit annoyingly, it won't work if you have Firefox already open. I hate it when applications do this.
- genewitch 2y agoon my firefox if i right click on a part of the page the website hasn't hijacked, it gives the option to "take screenshot" - which i think required enabling a setting somewhere. I hope it wasn't in about:config or wherever the dark-art settings are. I use that feature of FF to screenshot youtube videos with the subtitles moved and the scrub bar cropped out, i feel like it's a cleaner and smaller clipboard copy than using win+shift+s. Microsoft changed a lot about how windows handles ... files ... internally and screenshots are huge .png now, making me miss the days of huge .bmp. also as mentioned above, if you need entire sites backed up the firefox extension "singlefile" is the business. if image-y things? bulk image downloader (costs money but 100% worth; you know it if you need it: BID); and yt-dlp + ffmpeg for video, in powershell (get 7.5.0 do yourself a favor!) ```powershell $userInput = Read-Host -Prompt '480 video download script enter URL' Write-Output "URL:`t`t$userInput" c:\opt\yt-dlp.exe ` -f 'bestvideo[height<=480]+bestaudio/best[height<=480]' ` --write-auto-subs --write-subs ` --fragment-retries infinite ` $userInput ```