-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (30 loc) · 859 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<title>Google Drive Link Converter</title>
<style>
/* CSS 样式用于浮动提示窗口 */
#toast {
display: none;
position: fixed;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
background-color: #333;
color: #fff;
padding: 10px;
border-radius: 5px;
}
</style>
</head>
<body>
<h1>Google Drive Link Converter</h1>
<p>Enter your Google Drive link:</p>
<input type="text" id="driveLink" placeholder="Enter Google Drive link">
<button onclick="convertLink()">Convert</button>
<p id="outputLink"></p>
<!-- 用于显示浮动提示窗口的元素 -->
<div id="toast">Copied to Clipboard!</div>
<script src="script.js"></script>
</body>
</html>