-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.html
71 lines (64 loc) · 4.11 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
62
63
64
65
66
67
68
69
70
71
<!doctype html>
<html>
<head>
<title>Copy Tab Info Popup</title>
<style>
body {
overflow: hidden;
margin: 0px;
padding: 0px;
background: white;
}
div:first-child {
margin-top: 0px;
}
div {
padding: 1px 3px;
font-family: sans-serif;
width: 400px;
margin-top: 8px;
background: white;
}
div.popup-menu-group-title {
text-align: center;
background: blue;
color: white;
font-weight: bold;
}
div.popup-menu-item {
cursor: pointer;
text-align: left;
}
div.popup-menu-item:hover {
background: #aaaaaa;
}
</style>
<script src="node_modules/seq-exec/seq-exec.js"></script>
<script src="node_modules/utils4js/clipboard.js"></script>
<script src="popup.js"></script>
</head>
<body>
<div class="popup-menu-group-title">Active tab in current window:</div>
<div class="popup-menu-item" id="copy_title_of_active_tab_in_current_window_as_string">Copy title of active tab in current window as string</div>
<div class="popup-menu-item" id="copy_url_of_active_tab_in_current_window_as_string">Copy URL of active tab in current window as string</div>
<div class="popup-menu-item" id="copy_link_of_active_tab_in_current_window_as_html">Copy link of active tab in current window as HTML</div>
<div class="popup-menu-item" id="copy_link_of_active_tab_in_current_window_as_rednotebook">Copy link of active tab in current window as RedNotebook</div>
<div class="popup-menu-item" id="copy_link_of_active_tab_in_current_window_as_markdown">Copy link of active tab in current window as Markdown</div>
<div class="popup-menu-item" id="copy_link_of_active_tab_in_current_window_as_markdown_ordered_list_item">Copy link of active tab in current window as Markdown ordered list item</div>
<div class="popup-menu-item" id="copy_link_of_active_tab_in_current_window_as_markdown_unordered_list_item">Copy link of active tab in current window as Markdown unordered list item</div>
<div class="popup-menu-group-title">All tabs in current window:</div>
<div class="popup-menu-item" id="copy_titles_of_all_tabs_in_current_window_as_text">Copy titles of all tabs in current window as text</div>
<div class="popup-menu-item" id="copy_urls_of_all_tabs_in_current_window_as_text">Copy URLs of all tabs in current window as text</div>
<div class="popup-menu-item" id="copy_links_of_all_tabs_in_current_window_as_html_ordered_list">Copy links of all tabs in current window as HTML ordered list</div>
<div class="popup-menu-item" id="copy_links_of_all_tabs_in_current_window_as_html_unordered_list">Copy links of all tabs in current window as HTML unordered list</div>
<div class="popup-menu-item" id="copy_links_of_all_tabs_in_current_window_as_markdown_ordered_list">Copy links of all tabs in current window as Markdown ordered list</div>
<div class="popup-menu-item" id="copy_links_of_all_tabs_in_current_window_as_markdown_unordered_list">Copy links of all tabs in current window as Markdown unordered list</div>
<div class="popup-menu-group-title">All tabs in all windows:</div>
<div class="popup-menu-item" id="copy_titles_of_all_tabs_in_all_windows_as_text">Copy titles of all tabs in all windows as text</div>
<div class="popup-menu-item" id="copy_urls_of_all_tabs_in_all_windows_as_text">Copy URLs of all tabs in all windows as text</div>
<div class="popup-menu-item" id="copy_links_of_all_tabs_in_all_windows_as_html_ordered_list">Copy links of all tabs in all windows as HTML ordered list</div>
<div class="popup-menu-item" id="copy_links_of_all_tabs_in_all_windows_as_html_unordered_list">Copy links of all tabs in all windows as HTML unordered list</div>
<div class="popup-menu-item" id="copy_links_of_all_tabs_in_all_windows_as_markdown_ordered_list">Copy links of all tabs in all windows as Markdown ordered list</div>
<div class="popup-menu-item" id="copy_links_of_all_tabs_in_all_windows_as_markdown_unordered_list">Copy links of all tabs in all windows as Markdown unordered list</div>
</body>
</html>