74 lines
1.7 KiB
HTML
74 lines
1.7 KiB
HTML
<meta name=viewport content="width=device-width height=device-height">
|
|
<style>
|
|
td,th {
|
|
border: 0;
|
|
vertical-align: center;
|
|
}
|
|
body {
|
|
max-width: 700px;
|
|
width: 95vw;
|
|
margin: 10vh auto auto auto;
|
|
font-family: sans-serif;
|
|
background-color: #eee;
|
|
color: #111;
|
|
}
|
|
converting {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: rgba(255,255,255,0.6);
|
|
width: 100vw;
|
|
height: 100vh;
|
|
}
|
|
converting div {
|
|
display: block;
|
|
margin: auto;
|
|
margin-top: calc(50vh - 1.5em);
|
|
font-size: 3em;
|
|
opacity: 100%;
|
|
height: 3em;
|
|
width: min-content;
|
|
}
|
|
</style>
|
|
<title>PDFStabilizer</title>
|
|
|
|
<h1> PDFStabilizer </h1>
|
|
|
|
Some PDFs don't work on iPads due to a bug in iPadOS itself.<br>
|
|
You can upload them here to make them stable.<br>
|
|
<br>
|
|
Manche PDFs funktionieren auf iPads aufgrund eines Fehlers in iPadOS nicht.<br>
|
|
PDFs können hier hochgeladen werden, um sie zu "stabilsieren".<br>
|
|
<br>
|
|
|
|
<h2> Update </h2>
|
|
Apple fixed it in 18.3.1, but I will keep the website up for a while.
|
|
<br>
|
|
<br>
|
|
<br>
|
|
|
|
<!-- i am too lazy to close tags today -->
|
|
<form method=POST action=/result.pdf enctype=multipart/form-data>
|
|
<table>
|
|
<tr>
|
|
<td>step 1
|
|
<td><input style="width: 20em; height: 2em;" accept="application/pdf" type=file name=file>
|
|
<tr>
|
|
<td>step 2
|
|
<td><input style="width: 20em; height: 2em;" type=submit name=meow value=convert id=submit>
|
|
<tr>
|
|
<td>step 3
|
|
<td>wait
|
|
<tr>
|
|
<td>step 4
|
|
<td>you have a stable pdf
|
|
|
|
<script>
|
|
function onSubmit() {
|
|
setTimeout(() => document.body.innerHTML += '<converting><div>Converting...', 250)
|
|
return true
|
|
}
|
|
document.getElementById('submit').onclick = onSubmit
|
|
</script>
|
|
|
|
<fuck cloudflare=
|