Jump to content
UBot Underground

Recommended Posts

I had a big list of domains to take snapshots of, and one decided to render over 30k pixels tall which seemed to cause some sort of problem which caused scripts to hang. I fished around the jank tank for a while and came up with this workaround:

 

       set(#url, "example.com", "Global")
       load html("<iframe src=\"http://{#url}/\" height=\"1024\" width=\"800\" horizontalscrolling=\"no\" verticalscrolling=\"no\"></iframe>")
       wait for browser event("Everything Loaded", 30)
       save browser image("C:\\Users\\Administrator\\Pictures\\website snapshots\\{#url}.jpg")

 

Works pretty nice, of course size and border of the iframe can be adjusted.

  • Like 3
Link to post
Share on other sites
  • 10 months later...

ha ha, this was perfect man good thinking...

 

Edit: Just wanted to add that if you use a Wait for command and wait for the body tag to load and after that a wait for 3 seconds the bot should wait for the src to load all the way before taking the snap..

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...