talkdesk-useragent-switcher/data/options/index.html

54 lines
1.8 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<title>My Test Extension Options</title>
<style>
2018-04-10 00:50:58 -07:00
body {
min-width: 400px;
padding: 10px;
}
2018-04-10 00:50:58 -07:00
textarea { width: 100%; }
</style>
</head>
<body>
<table width=100%>
<tr>
<td>
2018-04-10 00:50:58 -07:00
<label><input type="radio" name="mode" value="blacklist" id="mode-blacklist"> Black-list mode: Apply the custom user-agent string to all tabs except the tabs with the following top-level hostnames (comma-separated list of hostnames)</label>
</td>
</tr>
<tr>
<td><textarea id="blacklist" rows="3" placeholder="e.g.: www.google.com, www.bing.com"></textarea></td>
</tr>
<tr>
<td>
2018-04-10 00:50:58 -07:00
<label><input type="radio" name="mode" value="whitelist" id="mode-whitelist"> White-list mode: Only apply the custom user-agent string to the tabs with following top-level hostnames</label>
</td>
</tr>
<tr>
<td><textarea id="whitelist" rows="3" placeholder="e.g.: www.google.com, www.bing.com"></textarea></td>
</tr>
<tr>
<td>
2018-04-10 00:50:58 -07:00
<label><input type="radio" name="mode" value="custom" id="mode-custom"> Custom mode: Try to resolve the user-agent string from the bellow JSON object; otherwise either use the default user-agent string or use the one that user is set from the popup.</label> <a href="#" id="sample">Insert</a> a sample JSON object.
</td>
</tr>
<tr>
2018-04-10 00:50:58 -07:00
<td><textarea id="custom" rows="5" wrap="off"></textarea></td>
</tr>
2017-11-22 04:38:04 -08:00
<tr>
<td><label><input type="checkbox" id="faqs"> Open FAQs page on updates</label></td>
</tr>
</table>
<p>
<button id="donate">Support Development</button>
2018-04-10 00:50:58 -07:00
<button id="reset">Reset</button>
<button id="save">Save</button>
<span id="status"></span>
</p>
<script src="index.js"></script>
</body>
</html>