aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/options.html
blob: c9b9b601ecfaf78f59b22f5657a6554e25296d4e (plain)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Archiveror Options</title>
    <style type="text/css">
     body {padding: 10px; line-height: 1.6; font-size: 14px}
     input[type="checkbox"], input[type="radio"] {margin-right: 10px}
    </style>
  </head>
  <body>
    <h3>Archive Now</h3>
    <p>The archives to make when you click the Archive Now button.</p>
    <label for="archive.is">
      <input type="checkbox" name="service" id="archive.is" value="archive.is">
      <a href="https://archive.is/">archive.is</a>
    </label>
    <br>
    <label for="archive.org">
      <input type="checkbox" name="service" id="archive.org" value="archive.org">
      <a href="https://archive.org/web/">archive.org</a> (Wayback Machine)
    </label>
    <br>
    <label for="perma.cc">
      <input type="checkbox" name="service" id="perma.cc" value="perma.cc">
      <a href="https://perma.cc/">perma.cc</a> (requires an account)
    </label>
    <br>
    <label for="webcitation.org">
      <input type="checkbox" name="service" id="webcitation.org" value="webcitation.org">
      <a href="http://webcitation.org/">webcitation.org</a> (requires email, no HTTPS)
    </label>
    <br>
    <div class="mhtml">
      <label for="mhtml">
        <input type="checkbox" name="service" id="mhtml" value="mhtml">
        MHTML
      </label>
    </div>

    <div id="email_option">
      <h3>Email Address</h3>
      The email address used for archiving on webcitation.org. You will receive a link to the archive by email.
      <table>
        <tr>
          <td><label for="email">Email:</label></td>
          <td><input type="text" id="email"></td>
        </tr>
      </table>
    </div>

    <h3>Bookmarks</h3>
    <label for="bookmarks">
      <input type="checkbox" id="bookmarks">Automatically archive bookmarks
    </label>
    <div id="bookmark_options">
      <p>Select which archives to make for bookmarks:</p>

      <label for="bookmark-archive.is">
        <input type="checkbox" name="bookmarkService" id="bookmark-archive.is" value="archive.is">
        <a href="https://archive.is/">archive.is</a>
      </label>
      <div class="mhtml">
        <label for="bookmark-mhtml">
          <input type="checkbox" name="bookmarkService" id="bookmark-mhtml" value="mhtml">
          MHTML
        </label>
      </div>
    </div>

    <div id="local_options" style="display:none">
      <h3>Archive Location</h3>
      The subdirectory of your Downloads folder where local archives will be saved.
      <table>
        <tr>
          <td><label for="dir">Archive subdirectory:</label></td>
          <td><input type="text" id="dir"></td>
        </tr>
      </table>
      The location of your Downloads folder can be changed at the advanced settings.
      (<a href="https://support.google.com/chrome/answer/95574">instructions</a>)
    </div>

    <script src="options.js"></script>
  </body>
</html>