mirror of
https://git.victorphan.net/basketballcantho/study4.git
synced 2026-08-05 06:13:11 +07:00
Add source code, scraper extension, and result files
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Study4 Scraper</title>
|
||||
<style>
|
||||
body { width: 250px; font-family: Arial, sans-serif; padding: 15px; margin: 0; background-color: #f8f9fa; }
|
||||
h3 { margin-top: 0; color: #333; text-align: center; }
|
||||
p { font-size: 13px; color: #555; text-align: center; margin-bottom: 15px; }
|
||||
button { width: 100%; padding: 10px; margin-bottom: 10px; cursor: pointer; background-color: #007bff; color: white; border: none; border-radius: 4px; font-weight: bold; transition: background-color 0.2s; }
|
||||
button:hover { background-color: #0056b3; }
|
||||
.btn-success { background-color: #28a745; }
|
||||
.btn-success:hover { background-color: #218838; }
|
||||
#status { margin-top: 10px; font-size: 13px; color: #333; text-align: center; font-weight: bold; min-height: 20px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Study4 Scraper</h3>
|
||||
<p>Nhấn nút bên dưới để tải danh sách từ vựng từ trang web hiện tại.</p>
|
||||
<button id="scrape-csv" class="btn-success">Tải về CSV (Cơ bản)</button>
|
||||
<button id="scrape-anki" style="background-color: #ff9800;">Tải về file ZIP cho Anki (Kèm hình ảnh & âm thanh)</button>
|
||||
<button id="scrape-json">Tải về JSON</button>
|
||||
<div id="status"></div>
|
||||
<script src="jszip.min.js"></script>
|
||||
<script src="popup.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user