55 lines
1.1 KiB
HTML
55 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Cookie Extract</title>
|
|
<style>
|
|
body {
|
|
width: 300px;
|
|
padding: 15px;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
button {
|
|
background-color: #4285f4;
|
|
color: white;
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
margin-bottom: 10px;
|
|
width: 100%;
|
|
}
|
|
button:hover {
|
|
background-color: #3367d6;
|
|
}
|
|
button.secondary {
|
|
background-color: #34a853;
|
|
}
|
|
button.secondary:hover {
|
|
background-color: #2d9045;
|
|
}
|
|
#result {
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
background-color: #f5f5f5;
|
|
min-height: 20px;
|
|
word-break: break-all;
|
|
}
|
|
.success {
|
|
color: green;
|
|
}
|
|
.error {
|
|
color: red;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h2>Cookie Extract</h2>
|
|
<button id="copyCookie">复制SESSION Cookie</button>
|
|
<button id="copyAllCookies" class="secondary">复制Header Cookie</button>
|
|
<div id="result"></div>
|
|
<script src="popup.js"></script>
|
|
</body>
|
|
</html> |