-
Notifications
You must be signed in to change notification settings - Fork 4
/
popup.html
61 lines (50 loc) · 1.99 KB
/
popup.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
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
<!DOCTYPE html>
<html>
<!--
/*
* By garywill (https://garywill.github.io)
* https://github.com/garywill/multi-subs-yt
*
*/
-->
<head>
<meta charset="utf-8">
<title></title>
<script type="text/javascript" src="stor.js"></script>
<script type="text/javascript" src="popup.js"></script>
<style>
button {
padding: 0;
margin: 0;
/* outline: none; */
}
</style>
</head>
<body>
<div>
<h3 id="div_popup_title" style="text-align:center;">Multi Subtitles Youtube</h3>
<div id="div_connecting_tip" style="color: orange; " >
Still trying to get web video player info ...
</div>
<div id="div_refresh_tip" style="color:red; text-align:center; display:none; " >
<b>Refresh</b> the web if subtitles <b>not loaded</b> or <b>loaded wrong</b>
</div>
<h3 id="div_page_title"></h3>
<div id="div_message"></div>
<select id="selector-sub-lang" >
</select>
<input type="checkbox" id="cbox_trans" >translate to</input>
<select id="selector-trans-lang" disabled="true">
</select>
<button id="btn_disp_sub">Add Subtitle</button>
<button id="btn_rm_sub">Remove All</button>
<button id="btn_url" style="display:;">Copy URL</button>
<br>
<br>
<div style="text-align: center;">
More addons / Donate: <a target="_blank" href="https://garywill.github.io">Visit Author</a>
</div>
</div>
<img style="position: absolute; top:-100px ;width: 1px; max-width: 1px; height: 1px; max-height: 1px;" src="https://ia.51.la/go1?id=21192213&pvFlag=1" style="border:none" />
</body>
</html>