blob: 96a87a1dea61325db78f7c3f8c34fb55ff4d73e9 (
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
|
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width; user-scalable=0" />
<title>about:config</title>
<meta charset="UTF-8" />
<link rel="localization" href="mobile/android/aboutConfig.ftl"/>
<link rel="stylesheet" href="chrome://geckoview/skin/config.css" type="text/css"/>
<script type="text/javascript" src="chrome://geckoview/content/config.js"></script>
</head>
<body onload="NewPrefDialog.init(); AboutConfig.init();"
onunload="AboutConfig.uninit();">
<div class="toolbar">
<div class="toolbar-container">
<div id="new-pref-toggle-button" onclick="NewPrefDialog.toggleShowHide();"/>
<div class="toolbar-item" id="filter-container">
<div id="filter-search-button"/>
<input id="filter-input" type="search" data-l10n-id="config-toolbar-search" value=""
oninput="AboutConfig.bufferFilterInput();"/>
<div id="filter-input-clear-button" onclick="AboutConfig.clearFilterInput();"/>
</div>
</div>
</div>
<div id="content" ontouchstart="AboutConfig.filterInput.blur();">
<div id="new-pref-container">
<li class="pref-item" id="new-pref-item">
<div class="pref-item-line">
<input class="pref-name" id="new-pref-name" type="text" data-l10n-id="config-new-pref-name"
onfocus="NewPrefDialog.focusName(event);"
oninput="NewPrefDialog.updateName(event);"/>
<select id="new-pref-type" onchange="NewPrefDialog.type = event.target.value;">
<option value="boolean" data-l10n-id="config-new-pref-value-boolean"></option>
<option value="string" data-l10n-id="config-new-pref-value-string"></option>
<option value="int" data-l10n-id="config-new-pref-value-integer"></option>
</select>
</div>
<div class="pref-item-line" id="new-pref-line-boolean">
<input class="pref-value" id="new-pref-value-boolean" disabled="disabled"/>
<div class="pref-button toggle" onclick="NewPrefDialog.toggleBoolValue();" data-l10n-id="config-pref-toggle-button"></div>
</div>
<div class="pref-item-line" id="new-pref-line-input">
<input class="pref-value" id="new-pref-value-string" data-l10n-id="config-new-pref-string"/>
<input class="pref-value" id="new-pref-value-int" data-l10n-id="config-new-pref-number" type="number"/>
</div>
<div class="pref-item-line">
<div class="pref-button cancel" id="negative-button" onclick="NewPrefDialog.hide();" data-l10n-id="config-new-pref-cancel-button"></div>
<div class="pref-button create" id="positive-button" onclick="NewPrefDialog.create(event);" data-l10n-id="config-new-pref-create-button"></div>
</div>
</li>
</div>
<div id="prefs-shield"></div>
<ul id="prefs-container"/>
<div id="loading-container"></div>
</div>
<menu type="context" id="prefs-context-menu">
<menuitem data-l10n-id="config-context-menu-copy-pref-name" onclick="AboutConfig.clipboardCopy('name');"></menuitem>
<menuitem data-l10n-id="config-context-menu-copy-pref-value" onclick="AboutConfig.clipboardCopy('value');"></menuitem>
</menu>
</body>
</html>
|