3 ms·
I am not sure why this webpage is so hard to screenshot, but my main screenshot service can't do it (i get a 404 after it returns the URL), and in firefox direc
by genewitch 5y ago
I am not sure why this webpage is so hard to screenshot, but my main screenshot service can't do it (i get a 404 after it returns the URL), and in firefox directly telling it to screenshot loses a significant amount of text.
I cannot complain enough, this is a simple web page. there is absolutely no reason i cannot capture a static image of it.
beyond that, i sort of enjoyed a deeper dive, but the subject matter was relatively uninteresting to me. Technology used to have to be bent to the will of the group programming for it, and i'm sure with enough time and the lack of a release schedule from the three big CPU manufacturers, we'd have amazing results with x86 and Arm now, too. But it was a different time, and i do appreciate history.
Sure do wish i could save the site as a .png, though.
- syradar 5y agoYou can do that with the Capture Screenshot command in DevTools https://swimburger.net/blog/web/hidden-gem-take-screenshots-using-built-in-commands-in-chrome-edge https://swimburger.net/blog/web/hidden-gem-take-screenshots-...
- Tijdreiziger 5y agoOn Firefox you can just right-click > Take Screenshot.
- genewitch 5y agodoesn't actually work the way it claims to work, see http://projectftm.com/#-b3CluYULJcy0JiPUjjUCg http://projectftm.com/#-b3CluYULJcy0JiPUjjUCg for the 19000KB screenshot firefox took, with missing text after the first 30% or so. With the European GDPR(?) stuff and general cookie alerts and floating ad boxes, i find that a good 20-30% of all web pages cannot be correctly "captured" as an image. Realistically, since i can literally scroll the actual webpage and see everything, there is no reason that a screenshot wouldn't capture the exact same thing, but it's 2022 and here we are. Sorry, my pastebin (projectftm.com) is one of the few that allows both arbitrary resolution screenshots as well as pinch/ctrl-scrollwheel zoom to arbitrary sizes. My screenshot bot uploads to a regular nginx webserver, however the screenshot id it generates is a 404. I haven't figured out how to adjust the timeout interval, as i think that's on the bot's home host side, and not the firefox side. the API has a timeout for receiving data from a remote host and if firefox takes longer than that to produce a screenshot it just gives up, even though the script has created a link.
- deleted 5y ago[deleted]
- nicole_express 5y agoI'd love to support this use case, but I don't know how? I mean, this is about as plain-text as a site can get without just being text, if there's some tweak I need to make to the site generator to make it work though I'd be willing to do it.
- genewitch 5y agoSorry for the delay. My "screenshot" bot just runs a headless firefox with --screenshot (or whatever the command is) - so it loads the website as firefox and tries to take a full page screenshot. This is limited by timeouts, so if a site is getting slashdotted/whatever, it may fail. However, i am able to take a partial screenshot after the page is loaded on a regular firefox[0], which shows the exact same missing text as i mentioned a week ago, even this morning. I'm nearly positive it doesn't have anything to do with your site, even though the page weighs in at at least 19000KB as a .png. I'm weird, i think .png (or even .gif/.jpg) full page renders are functionally equivalent to a "print to pdf" except more useful. Sorry i sort of derided your efforts. My parents bought me a Sega master system rather than a nintendo, and the past year has me worn out on the "6502-era" systems. [0]http://projectftm.com/#-b3CluYULJcy0JiPUjjUCg http://projectftm.com/#-b3CluYULJcy0JiPUjjUCg this is my personal pastebin, the screenshot linked here is 10% of my total storage on the pastebin, so this may not be available by the time you see this reply. you can @genewitch me on twitter or gmail if you want to see what i mean, and this link is "dead". Many spring tidings!