Skip to content

Commit 2fedf2f

Browse files
authored
Update index.html
1 parent 0a7a254 commit 2fedf2f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154

155155
.address-box {
156156
position: relative;
157-
width: 460px; /* Reduced length as requested */
157+
width: 800px; /* Made the URL address bar longer */
158158
margin: 0 auto;
159159
}
160160

@@ -268,10 +268,8 @@
268268
if (val.startsWith('https://')) {
269269
return `/active/embed.html?url=${val}`;
270270
} else if (val.includes('.') && !val.includes(' ')) {
271-
// If it's a domain, add https:// and wrap in embed
272271
return `/active/embed.html?url=https://${val}`;
273272
} else {
274-
// If it's a query, use Google search logic
275273
return `/active/embed.html?url=https://www.google.com/search?q=${encodeURIComponent(val)}`;
276274
}
277275
}

0 commit comments

Comments
 (0)