-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.html
executable file
·174 lines (169 loc) · 23.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE html>
<html>
<head>
<title>dhtml2pdf</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
var apiUrl = window.location.href + 'api.php';
$("#a-pdf-binary").click(function(e){
e.preventDefault();
var url = $('#input-pdf-binary').val();
if( url ) {
$('#pdf-binary-text').show();
$.ajax({
type: "GET",
url: apiUrl + "?url=" + url +"&result_type=binary",
success: function(data){
$('#pdf-binary').show();
$('#pdf-binary').val(data);
$('#pdf-binary-text').hide();
$('#copy-to-clipboard-binary').show();
},
error: function(err) {
console.log(err);
}
});
}
});
$("#a-pdf-show").click(function() {
$("#a-pdf-show").attr('href', apiUrl + '?url=' + $("#input-pdf-show").val() + '&result_type=show' );
});
$("#a-pdf-download").click(function() {
$("#a-pdf-download").attr('href', apiUrl + '?url=' + $("#input-pdf-download").val() + '&result_type=download' );
})
$('#copy-to-clipboard-binary').click(function() {
var pdfBinaryTextArea = document.querySelector('#pdf-binary');
pdfBinaryTextArea.select();
document.execCommand('copy');
alert('Copied PDF binary to clipboard!');
});
});
</script>
<style>
.text-center {
text-align: center;
}
.width-100 {
width: 100%;
}
.wrapper {
padding: 5%;
}
.github-icon {
width: 30px;
height: 30px;
background-size: cover;
background-repeat: no-repeat;
display: inline-block;
background-image: url(
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAQAAAD2e2DtAAAAAmJLR0QA/4ePzL8AABCWSURBVHja7Z17nI3VGsd/M8MwLsMI5TLjbihDcgxhkMYll0rhoEJMkyhzOOVS6iilonKpNA5RSpSUSsLkWqlTlEscQuEUx23kjNu4zD5/2DP2bLPNfvf7POtd7/s+3/WP5tPs/TzPb8271rvWs54FCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIg2IVySEAH9MNITMZ7WIMN2Iw9+A2ZyEQOPMhEJvZiD7ZgA9ZiPqZgNPqjExJQXoJnV2LQCqmYigzsgcdEy8QGzMUodENNhEtYdac4kjAan+GYKdEDteP4HE+gDUpIoPUTvjMm4Rtkswjv387hO7yC26Uj6MA16IcPcEKJ8P7tDDKQhioigjXUwGisx0VLpPdtOfgeY1FXBFH5wO+JDORYLn3+tgGpKC3icNMEU5mmeDSDwgdIRpjIxEExpGC7ttL7tl0YIhNEWqKRht9tIX5uO4IXUEmEo6ASxuG4rcTPbWcxF/VEQHPip+OcLcXPbRcwB7EiZCiUxCiL3u+pWzZmoIIIaoSiSMVBR4h/eU9hFKJE2ODojt2OEj+37UdfEbcwKmOhI8XPbWtkWhiYIkjD/xwt/6XFonEoJmJfSWN873jxc9svaCeC+xKJSbjgGvkvbSG9JpPCXOKx0VXi57btuFHEB/ohy5XyX5oPjHJ3olkZvOda8XPbCvfuGTTDftfL74EHB9HajfL3xmkR39vOY5i7xI/ACyK7X5uBom6RvzQ+EcELaF+hohvkr4Md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vO/Bw7mZsajVQ2VeVGXzYeTuA0O5wa2CoONlPkQz+TBUfsv+wS3kLqJJXzqSiXUY0r3rAWXUBIfMQRQ3V5CfQbrl+lz1lcF4XiOvMbWX5RZfz25/C/bsBqyabqFfASs4NZU4TyG0u4s5yz5Gl9Q+YkwkOr2EBoQWr0N9eFiovAG2VCgbgZNd2vSW/nqJLiUjvjDZh3gRhJ7jzt7yccIFbGYIKDqksoaE1i7nLmake3oiUMmQ6ruZEAT03/7qZqWvLeUGMwwNR9oq8zSpiaLu1YRsQPR1kQ1znbKrEw0keHbVUS+OkWQGuKGUbIyG0M7HHoqQMFs4QoqYGoIRVk7KrPvZsO2nUc6KomwRojDDIM5ROo2UlsalD/Dujs97E0CFhjIJVQ3urYykNz1sX4V/exFPcwNMpVM3RMguCHgIhYozFJy+HAwMYgTRuqCXfjBkBOYorBmkSsohaHYdtX8YZVLK1c79roTw21wwaVNaYk5AeqQ3afUjjsKXLI6g3fRRtb4uCmDgViZb3J40YKrUx/NNzPJwToMRjkRRx2VMQLv4Et8gSkKU0F8aYSXsBRfYh5GIU4EEQRBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEBTyf9XFUfD6KGPuAAAAAElFTkSuQmCC
);
}
.long-arrow-right-icon {
width: 30px;
height: 30px;
background-size: cover;
background-repeat: no-repeat;
display: inline-block;
background-image: url(
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAABqlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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QO0LPS+zqgs8b7SvBVtfe9QMts75uhuzO8b4ebSrwfiDQWez8Sq/d+Kpw76P1eYHjHhG+GRhzmH0xYJtFlMH/iQpnG+OfvTlwqVfk29vnfLEpeIlJ5oTfq+V/My7/oqHTW/2VwEvM/qvBeJXYrysMVCg9wLc4l4wUHOBfppoFCA0S7l7iwALkD3vsFxl8O4RMgvcF7z1Ck6+QLDtC9PFgHiH0Ddb4Az2PfQp8nQPwnayUHuBn/2WqJAa4YnK6XFKDB4SCZiQNEvms8b4Ds7mAdYGhLsA6QrgvWAYzOmU5P/ul//AHaFwTrAM8qg3WA+17fGvgrQHMqWAe47Ha49h8BGuyOV/8tQO5wCM4BYj82LF+AzGbD+UP/2Pz96xzn//WRlc+1lvOHY6Pzv3f90NDoh5ZeVgdX0460q+tkaQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABg6zueRxZr0nPhXwAAAABJRU5ErkJggg==
);
}
.html5-icon {
width: 30px;
height: 30px;
background-size: cover;
background-repeat: no-repeat;
display: inline-block;
background-image: url(
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAAC+lBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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ooYK1mDQ1VrqbT35P/1ETPW5FjW6mw8UsBujekevv7P1ycGPn2D/w/qU8bD/hodWOppIC1ChaLfYw77Y9V6gEvk8Bgdl9hdLTSL8nhqUrzUp/YwVo0ohd4Adh8w2CP3PnMd7dYS33TePU3XgB8y0CvDZweTl5+co45dCByYhPMyY1QnhcAw4S74683CZPUpb5pnrVXuAG4tsOAjJlzY5lg4vCB9aBnvUNYPEkApAYM9ePq64Rlml+BkROkF6kB8Oux5ITFEYCpU8AGYWoPcLkHmDoF+AFYnld//JUcRwB2kEC+5HIAxJfo5ZlfNrAArQCnKUCngNsBWNoDtAe4WwHE3xHRDueVbPm5dQqPfmnss3HSpxRJ56N9OxPxPR4VRz+dGkkVyf+MZizBg/FEt1KDXxhPjlKuW1F+mS27oon9XiUGX19/v0j/664Mau4dINq6wqfsj2eSd5jOwJbO9RVNrMcheUR5CrHYLABAPfwDg8efFz762bEkzJ5EGEPvSwweaBU2+H+trKoCoBbt++Nvvyik2sFtwAMF8JcQopHjfo6DX5wY+XoG+JzQPU19tb+fy+h/HabZbSYcQD22xSJHO0HPmDvPWu2EAqh3zHvjUNs+ylPp5ESFW1pxbOtDRwZjrB0zWLWTAYC1Yy5eAthsLBlAPQKHaHaA1ardqJCFKCF3toQdc63afXNdVFcl7NZ+YyQyuEVetZMP4HHH3HQzaK3ajdw2xIboyZ0N++LvvCCh2ikD4FHHHI89uTsyey6ZnpNzUy1peq/WMa/tCy/9OCyg2qkG4PGt09GcqGqnaLQYOnTo0KFDhw4dOnTo0CEl/gQYGRe//rr8yAAAAABJRU5ErkJggg==
);
}
.file-pdf-o-icon {
width: 30px;
height: 30px;
background-size: cover;
background-repeat: no-repeat;
display: inline-block;
background-image: url(
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAAC61BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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yOX///lDxq4DFACk5vdqEMBk8ssiLxQAKaSVRhjAADJG0oNhgAEglqv5/n508+WA1+Q5ATAADOHqvSwvNX98y6r0oBCUAbiT5r1rmz/OJdmv+qEAWMV9fdQI8Cy5Ba57CjAAjOAGRLnefAEIu0FyJwMKgHzuBBAL0I/X1i0dUACQYfE2AATyKkHy3HEAnOTaPz4C/XjbfzEAUACE8bqCP/E/3pPqQYADgHv29wlM5vUAN40FJABf2r96YRMve30cYAGw/9dr+GOkNk4DNABS7V9MUwAPwC3x9lePB0QAH4ryXBkGmACG3nXI8lEvQAUAQw4JujnOA0AGADCKGx+zdkMfQAgAELHxcp319qEFAQA4AVpSD6A00fuGCR1AB9ABdAAdQAfQAXQAHUAH0AF0AB1AB9ABdAAtAFRpMFlcCcBG0gF0ACeTmVGAns4CVLK5/SanLyDfsAlQ7DRANpsA+U4DzGMTYLHTAI8yeRbszEue01kEyOrEbXRoLXvb3zi0MwWJ+ewBvNa5otRm1rY/o5NlSfdtjG1/55sxJNczdPyndqVC4bE0Vq6G+cO7WKcyaOHhUpO2t72u7OjvHvKdJX69NJz8QU960lMH6f8VPTjUy0Y8DAAAAABJRU5ErkJggg==
);
}
</style>
</head>
<body>
<main class="wrapper container">
<section class="row">
<div class="col-sm-12">
<h1>dhtml2pdf <i class="html5-icon"></i><i class="long-arrow-right-icon"></i><i class="file-pdf-o-icon"></i></h1>
</div>
</section>
<section class="row">
<div class="col-sm-12">
<h6>Convert an HTML from URL to PDF.</h6>
<h6>Uses the <a href="https://github.com/knplabs/snappy" target="_blank">snappy</a> image & PDF from URL generation PHP library.</h6>
</div>
</section>
<br>
<section class="row">
<div class="col-12">
<h5>Example. Put your own URL:</h5>
</div>
</section>
<div class="row">
<div class="col-sm-8">
<input id="input-pdf-show" class="width-100" type="text" value="https://www.github.com" />
</div>
<div class="col-sm-4">
<a id="a-pdf-show" href="" target="_blank">Show PDF</a>
</div>
</div>
<div class="row">
<div class="col-sm-8">
<input id="input-pdf-download" class="width-100" type="text" value="https://stackoverflow.com" />
</div>
<div class="col-sm-4">
<a id="a-pdf-download" href="">Download PDF</a>
</div>
</div>
<div class="row">
<div class="col-sm-8">
<input id="input-pdf-binary" class="width-100" type="text" value="https://www.w3schools.com" />
</div>
<div class="col-sm-4">
<a id="a-pdf-binary" href="">Show binary</a>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<p id="pdf-binary-text" class="width-100" style="display: none"><i>Waiting for the binary text to appear, this may freeze the site for some minutes, depending on the HTML length...</i></p>
<textarea style="display: none" rows="15" class="width-100" id="pdf-binary"></textarea>
<button id="copy-to-clipboard-binary" style="display: none" type="button" class="btn btn-primary">Copy to clipboard</button>
</div>
</div>
<br>
<div class="row">
<div class="col-sm-12">
<a href="https://github.com/Dellos7/dhtml2pdf" target="_blank">
<i class="github-icon"></i>
See in Github
</a>
</div>
</div>
</main>
<footer>
<div class="row">
<div class="col-1 offset-7">
<p>
<a href="https://validator.w3.org/check?uri=referer">
<img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88"/></a>
</p>
</div>
</div>
</footer>
</body>
</html>