aboutsummaryrefslogtreecommitdiffhomepage
path: root/chromium/options.html
blob: 2dac9ed7fdd16bf49455bb04079ea1c1b3ee3b57 (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
<!DOCTYPE html>
<html>
<head>
  <title>Archiveror Options</title>
  <style type="text/css">
   body {padding: 10px; line-height: 1.6; font-size: 14px}
   input[type="radio"] {margin-right: 5px}
  </style>
</head>
<body>
  <h3>Archiving Service</h3>
  <p>The online archiving service(s) to use for manual archiving.</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="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>

  <h3>Archiving mode</h3>
  <label for="online">
    <input type="radio" name="mode" id="online" value="online">Online
  </label>
  <br>
  <label for="local">
    <input type="radio" name="mode" id="local" value="local">Local (MHTML)
  </label>


  <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>

  <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>

  <div style="margin-bottom: 10px">
    <h3>Bookmarks</h3>
    <label for="bookmarks">
      <input type="checkbox" name="bookmarks" id="bookmarks">Automatically archive bookmarks
    </label>
  </div>

  <table>
    <tr>
      <td>
        <button id="save">Save</button>
      </td>
      <td>
        <b><div id="status" style="color:#3fba66"></div></b>
      </td>
    </tr>
  </table>

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