+54
-51
@@ -1,73 +1,76 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<title>13ft Ladder</title>
|
<title>13ft Ladder</title>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet" async>
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">
|
|
||||||
<style>
|
<style>
|
||||||
div.centered {
|
body {
|
||||||
position: absolute;
|
font-family: 'Open Sans', sans-serif;
|
||||||
left: 50%;
|
background-color: #FFF;
|
||||||
top: 50%;
|
|
||||||
-webkit-transform: translate(-50%, -50%);
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
}
|
|
||||||
h1{
|
|
||||||
font-family: 'Product Sans', 'Open Sans', sans-serif;
|
|
||||||
text-rendering: optimizeLegibility;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 90vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
margin-bottom: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
label {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
input[type=text] {
|
input[type=text] {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
border: 0;
|
border: 1px solid #ccc;
|
||||||
box-shadow: 0 0 15px 4px rgba(0,0,0,0.3);
|
border-radius: 5px;
|
||||||
border-radius: 10px;
|
width: 100%;
|
||||||
width:100%;
|
font-size: 1rem;
|
||||||
font-family: 'Product Sans', 'Open Sans', sans-serif;
|
box-sizing: border-box;
|
||||||
font-size: inherit;
|
|
||||||
text-rendering: optimizeLegibility;
|
|
||||||
}
|
}
|
||||||
input[type="submit"] {
|
input[type="submit"] {
|
||||||
/* remove default behavior */
|
padding: 10px;
|
||||||
-webkit-appearance:none;
|
background-color: #6a0dad;
|
||||||
appearance:none;
|
color: #fff;
|
||||||
/* usual styles */
|
border: none;
|
||||||
padding:10px;
|
border-radius: 5px;
|
||||||
border:none;
|
width: 100%;
|
||||||
background-color:#6a0dad;
|
|
||||||
color:#fff;
|
|
||||||
font-weight:600;
|
|
||||||
border-radius:5px;
|
|
||||||
width:100%;
|
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-family: 'Product Sans', 'Open Sans', sans-serif;
|
font-weight: 600;
|
||||||
font-size: 1rem;
|
cursor: pointer;
|
||||||
text-rendering: optimizeLegibility;
|
transition: background-color 0.3s ease;
|
||||||
}
|
}
|
||||||
input[type="submit"]:active {
|
input[type="submit"]:hover {
|
||||||
scale: 1.02;
|
background-color: #4e0875;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Responsive adjustments */
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
|
form {
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="centered">
|
<form action="/article" method="post">
|
||||||
<form action="/article" method="post">
|
<h1>Enter Website Link</h1>
|
||||||
<h1>
|
<label for="link">Link of the website you want to remove paywall for:</label>
|
||||||
<label for="link">Enter Website Link</label>
|
<input type="text" id="link" name="link" required>
|
||||||
</h1>
|
<input type="submit" value="Submit">
|
||||||
<br>
|
</form>
|
||||||
<input
|
|
||||||
title="Link of the website you want to remove paywall for"
|
|
||||||
type="text"
|
|
||||||
name="link"
|
|
||||||
required
|
|
||||||
>
|
|
||||||
<input type="submit" value="submit">
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
+56
-60
@@ -7,84 +7,80 @@ googlebot_headers = {
|
|||||||
"User-Agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
|
"User-Agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
|
||||||
}
|
}
|
||||||
html = """
|
html = """
|
||||||
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<title>13ft Ladder</title>
|
<title>13ft Ladder</title>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet" async>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
div.centered {
|
body {
|
||||||
position: absolute;
|
font-family: 'Open Sans', sans-serif;
|
||||||
left: 50%;
|
background-color: #FFF;
|
||||||
top: 50%;
|
|
||||||
-webkit-transform: translate(-50%, -50%);
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
}
|
|
||||||
|
|
||||||
h1{
|
|
||||||
font-family: 'Product Sans', 'Open Sans', sans-serif;
|
|
||||||
text-rendering: optimizeLegibility;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-align: center;
|
padding: 0;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 90vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
text-align: center;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
label {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
input[type=text] {
|
input[type=text] {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
border: 0;
|
border: 1px solid #ccc;
|
||||||
box-shadow: 0 0 15px 4px rgba(0,0,0,0.3);
|
border-radius: 5px;
|
||||||
border-radius: 10px;
|
width: 100%;
|
||||||
width:100%;
|
|
||||||
font-family: 'Product Sans', 'Open Sans', sans-serif;
|
|
||||||
font-size: inherit;
|
|
||||||
text-rendering: optimizeLegibility;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="submit"] {
|
|
||||||
/* remove default behavior */
|
|
||||||
-webkit-appearance:none;
|
|
||||||
appearance:none;
|
|
||||||
|
|
||||||
/* usual styles */
|
|
||||||
padding:10px;
|
|
||||||
border:none;
|
|
||||||
background-color:#6a0dad;
|
|
||||||
color:#fff;
|
|
||||||
font-weight:600;
|
|
||||||
border-radius:5px;
|
|
||||||
width:100%;
|
|
||||||
text-transform: uppercase;
|
|
||||||
font-family: 'Product Sans', 'Open Sans', sans-serif;
|
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
text-rendering: optimizeLegibility;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
input[type="submit"]:active {
|
input[type="submit"] {
|
||||||
scale: 1.02;
|
padding: 10px;
|
||||||
|
background-color: #6a0dad;
|
||||||
|
color: #fff;
|
||||||
|
border: none;
|
||||||
|
border-radius: 5px;
|
||||||
|
width: 100%;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-weight: 600;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 0.3s ease;
|
||||||
|
}
|
||||||
|
input[type="submit"]:hover {
|
||||||
|
background-color: #4e0875;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Responsive adjustments */
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
|
form {
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="centered">
|
<form action="/article" method="post">
|
||||||
<form action="/article" method="post">
|
<h1>Enter Website Link</h1>
|
||||||
<h1>
|
<label for="link">Link of the website you want to remove paywall for:</label>
|
||||||
<label for="link">Enter Website Link</label>
|
<input type="text" id="link" name="link" required>
|
||||||
</h1>
|
<input type="submit" value="Submit">
|
||||||
<br>
|
</form>
|
||||||
<input
|
|
||||||
title="Link of the website you want to remove paywall for"
|
|
||||||
type="text"
|
|
||||||
name="link"
|
|
||||||
required
|
|
||||||
>
|
|
||||||
<input type="submit" value="submit">
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
"""
|
"""
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
version: '3'
|
|
||||||
services:
|
services:
|
||||||
13ft:
|
13ft:
|
||||||
build: .
|
build: .
|
||||||
#image: your-image-name:tag
|
#image: your-image-name:tag
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
Reference in New Issue
Block a user