chris22smith, to webdev
@chris22smith@mastodon.social avatar

Web devs, is there a reliable way of taking a screenshot, element to image, with JavaScript?

I've tried html2canvas (not faithful), media stream (requires user permission) and blob generation (I can't figure it out).

I'm actually trying to load an iframe then replace it with a screenshot of its content as a way of saving resources.

olshamb, to macos

Hi!
I am OlshaMB(Michael).
I am almost 16 year old programmer.
I love MacOS and Apple, and Arc Browser btw.
I program for the web, in the newest web tech.
Also sometimes I program in Rust, also sometimes I program in swift for mac apps.
I love open-source and Linux.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • cisconetworking
  • khanakhh
  • mdbf
  • magazineikmin
  • modclub
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • Durango
  • tacticalgear
  • JUstTest
  • ngwrru68w68
  • everett
  • normalnudes
  • cubers
  • tester
  • thenastyranch
  • osvaldo12
  • GTA5RPClips
  • ethstaker
  • megavids
  • anitta
  • Leos
  • lostlight
  • All magazines