-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathoptions.html
51 lines (48 loc) · 1.03 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<title>Open in Freedium - Options</title>
<style>
#status {
color: #090;
min-height: 1.5em;
}
#save {
width: 100%;
}
code {
font-size: 1.5em;
}
body {
max-width: 400px;
}
textarea {
width: 99%;
}
</style>
</head>
<body>
<h3>
By default this extension can open a page on "medium.com" in Freedium.
Here you can add additional patterns for the extension to handle.
</h3>
<p>One per line. Wildcard supported.</p>
<p>
Examples: <br />
<code>*://example.com/*</code><br />
<code>*://*.example.com/*</code><br />
<code>*://*.example.com/articles/*</code><br />
</p>
<textarea
id="custom_patterns"
name="custom_patterns"
rows="10"
cols="50"
placeholder="*://*.example.com/*"
>
</textarea>
<button id="save">Save</button>
<div id="status"></div>
<script src="options.js"></script>
</body>
</html>