-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
168 lines (150 loc) · 5.22 KB
/
index.html
File metadata and controls
168 lines (150 loc) · 5.22 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Compress PDF – EasyUseHub</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body{
margin:0;
font-family:Arial, sans-serif;
background:#f5f7fa;
text-align:center;
position: relative;
overflow-x: hidden;
}
header{
background:#fff;
padding:15px;
box-shadow:0 2px 5px rgba(0,0,0,.1);
}
.container{
width:90%;
max-width:900px;
margin:30px auto;
}
/* --- In-Page Push Ad Style --- */
#push-notification {
position: fixed;
bottom: -150px;
right: 20px;
width: 300px;
background: #fff;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
display: flex;
align-items: center;
padding: 12px;
z-index: 10000;
transition: bottom 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
cursor: pointer;
border-left: 5px solid #2563eb;
}
#push-notification.active { bottom: 20px; }
#push-notification img { width: 50px; height: 50px; border-radius: 8px; margin-right: 12px; }
.push-text { text-align: left; flex: 1; }
.push-text b { font-size: 14px; color: #222; display: block; }
.push-text p { font-size: 12px; color: #666; margin: 3px 0 0 0; }
.close-push { position: absolute; top: 5px; right: 8px; font-size: 18px; color: #aaa; cursor: pointer; }
/* --- Custom Ad Banner Styles --- */
.custom-ad-bridge {
background: linear-gradient(135deg, #1e3a8a, #2563eb);
color: white;
padding: 25px;
margin: 20px 0;
border-radius: 12px;
cursor: pointer;
box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
transition: transform 0.2s;
}
.custom-ad-bridge:hover { transform: scale(1.02); }
.ad-title { font-size: 20px; font-weight: bold; margin-bottom: 10px; display: block; }
.ad-btn { background: #fbbf24; color: #000; padding: 8px 20px; border-radius: 5px; font-weight: bold; text-transform: uppercase; display: inline-block; margin-top: 10px; }
.upload-btn{
display:inline-block;
padding:15px 30px;
background:#2563eb;
color:#fff;
border-radius:6px;
cursor:pointer;
margin:20px 0;
}
.buttons{
margin-top:10px;
}
.buttons button{
padding:10px 20px;
margin:5px;
border:none;
border-radius:5px;
cursor:pointer;
color:#fff;
}
.tools{ background:#10b981; }
.home{ background:#f59e0b; }
</style>
</head>
<body>
<div id="push-notification" onclick="window.open('https://easyusehub.blogspot.com', '_blank')">
<span class="close-push" onclick="event.stopPropagation(); document.getElementById('push-notification').classList.remove('active');">×</span>
<img src="https://cdn-icons-png.flaticon.com/512/5968/5968313.png" alt="icon">
<div class="push-text">
<b>🚀 46+ Pro Tools Ready!</b>
<p>All PDF TOOLS, All calculators, Image Compressor & AI tools at EasyUseHub.</p>
</div>
</div>
<header>
<h2>Compress PDF – EasyUseHub</h2>
</header>
<div class="container">
<div class="custom-ad-bridge" onclick="window.open('https://easyusehub.blogspot.com', '_blank')">
<span class="ad-title">🚀 Try 46+ Premium Free Web Tools!</span>
<p>All PDF TOOLS, 16+ calculator, Age Calculator, BMI Tracker, Loan EMI etc, Image resize & More - 100% Free</p>
<div class="ad-btn">Open EasyUseHub</div>
</div>
<p>Click below to compress your PDF file</p>
<label class="upload-btn" onclick="loadCompressWidget()">
Upload File
</label>
<div id="widgetArea" style="margin-top:30px;"></div>
<div class="custom-ad-bridge" style="background: linear-gradient(135deg, #059669, #10b981);" onclick="window.open('https://easyusehub.blogspot.com/p/image-compressor.html', '_blank')">
<span class="ad-title">⚡ High-Speed Image Compressor</span>
<p>Compress your images without losing quality at EasyUseHub</p>
<div class="ad-btn" style="background: #fff;">Try Now</div>
</div>
<div class="custom-ad-bridge" style="background: linear-gradient(135deg, #f59e0b, #d97706);" onclick="window.open('https://easyusehub.blogspot.com/p/ultimate-calculators-hub.html', '_blank')">
<span class="ad-title">🔢 Smart Financial & Health Calculators</span>
<p>Loan EMI, Age Calculator, BMI Tracker, and Tax Calculators at your fingertips.</p>
<div class="ad-btn" style="background: #000; color: #fff;">Open Calculators</div>
</div>
<div class="buttons">
<button class="tools" onclick="window.location.href='https://easyusehub.blogspot.com/p/free-pdf-tools-online.html'">
All PDF Tools
</button>
<button class="home" onclick="window.location.href='https://easyusehub.blogspot.com/?m=1'">
Home
</button>
</div>
</div>
<script src="https://tools.pdf24.org/static/js/widget.js"></script>
<script>
function loadCompressWidget(){
if(typeof pdf24 === "undefined"){
alert("Tool loading... Please click again");
return;
}
pdf24.loadWidget('compress-pdf', {
containerId: 'widgetArea',
langCode: 'en',
widgetConfig: {
theme: 'lightTheme'
}
});
// Upload বাটনে ক্লিক করার ১ সেকেন্ড পর ইন-পেজ পুশ অ্যাড স্লাইড করে আসবে
setTimeout(function() {
document.getElementById('push-notification').classList.add('active');
}, 1000);
}
</script>
</body>
</html>