Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Source code of One click screenshot of any webpage:
<!DOCTYPE html>
<html lang="en-US" prefix="og:">
<title>One click screenshot of any webpage</title>
<meta name="description" content="Get a one to two click screenshot of any webpage in .png. Download and use it on blogs and websites." />
<meta name="robots" content="follow, index, , max-snippet:-1, max-video-preview:-1, max-image-preview:large" />
<form id="your_form" onsubmit="yourFunction()" target="_blank">
<input type="url" name="url">
<input type="submit" value="Submit">
<script type="text/javascript">function yourFunction(){
var action_src = "" + document.getElementsByName("url")[0].value;
var your_form = document.getElementById('your_form');
your_form.action = action_src ;
Source: <a href=""></a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment