mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 06:07:59 +01:00
Fix some moz-anno: security errors in the Error Console.
This commit is contained in:
@@ -34,14 +34,14 @@ var CommandWidgets = Class("CommandWidgets", {
|
|||||||
<vbox id={config.commandContainer}>
|
<vbox id={config.commandContainer}>
|
||||||
|
|
||||||
<vbox class="dactyl-container" id="dactyl-multiline-output-container" hidden="false" collapsed="true">
|
<vbox class="dactyl-container" id="dactyl-multiline-output-container" hidden="false" collapsed="true">
|
||||||
<iframe id="dactyl-multiline-output" src="resource://dactyl-content/buffer.xhtml"
|
<iframe id="dactyl-multiline-output" src="dactyl://content/buffer.xhtml"
|
||||||
flex="1" hidden="false" collapsed="false"
|
flex="1" hidden="false" collapsed="false"
|
||||||
contextmenu="dactyl-contextmenu"
|
contextmenu="dactyl-contextmenu"
|
||||||
onclick="dactyl.modules.commandline.onMultilineOutputEvent(event)"/>
|
onclick="dactyl.modules.commandline.onMultilineOutputEvent(event)"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
|
|
||||||
<vbox class="dactyl-container" hidden="false" collapsed="true">
|
<vbox class="dactyl-container" hidden="false" collapsed="true">
|
||||||
<iframe class="dactyl-completions" id="dactyl-completions-dactyl-commandline" src="resource://dactyl-content/buffer.xhtml"
|
<iframe class="dactyl-completions" id="dactyl-completions-dactyl-commandline" src="dactyl://content/buffer.xhtml"
|
||||||
contextmenu="dactyl-contextmenu"
|
contextmenu="dactyl-contextmenu"
|
||||||
flex="1" hidden="false" collapsed="false"
|
flex="1" hidden="false" collapsed="false"
|
||||||
onclick="dactyl.modules.commandline.onMultilineOutputEvent(event)"/>
|
onclick="dactyl.modules.commandline.onMultilineOutputEvent(event)"/>
|
||||||
@@ -75,7 +75,7 @@ var CommandWidgets = Class("CommandWidgets", {
|
|||||||
before: <e4x xmlns={XUL} xmlns:dactyl={NS}>
|
before: <e4x xmlns={XUL} xmlns:dactyl={NS}>
|
||||||
<toolbar id={statusline.statusBar.id}>
|
<toolbar id={statusline.statusBar.id}>
|
||||||
<vbox id={"dactyl-completions-" + _status + "commandline-container"} class="dactyl-container" hidden="false" collapsed="true">
|
<vbox id={"dactyl-completions-" + _status + "commandline-container"} class="dactyl-container" hidden="false" collapsed="true">
|
||||||
<iframe class="dactyl-completions" id={"dactyl-completions-" + _status + "commandline"} src="resource://dactyl-content/buffer.xhtml"
|
<iframe class="dactyl-completions" id={"dactyl-completions-" + _status + "commandline"} src="dactyl://content/buffer.xhtml"
|
||||||
contextmenu="dactyl-contextmenu"
|
contextmenu="dactyl-contextmenu"
|
||||||
flex="1" hidden="false" collapsed="false"
|
flex="1" hidden="false" collapsed="false"
|
||||||
onclick="dactyl.modules.commandline.onMultilineOutputEvent(event)"/>
|
onclick="dactyl.modules.commandline.onMultilineOutputEvent(event)"/>
|
||||||
@@ -162,7 +162,7 @@ var CommandWidgets = Class("CommandWidgets", {
|
|||||||
|
|
||||||
let fontSize = util.computedStyle(document.documentElement).fontSize;
|
let fontSize = util.computedStyle(document.documentElement).fontSize;
|
||||||
styles.registerSheet("resource://dactyl-skin/dactyl.css");
|
styles.registerSheet("resource://dactyl-skin/dactyl.css");
|
||||||
styles.system.add("font-size", "resource://dactyl-content/buffer.xhtml",
|
styles.system.add("font-size", "dactyl://content/buffer.xhtml",
|
||||||
"body { font-size: " + fontSize + "; }");
|
"body { font-size: " + fontSize + "; }");
|
||||||
},
|
},
|
||||||
cleanup: function cleanup() {
|
cleanup: function cleanup() {
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
|
|
||||||
/* Applied only to completion buffer and MOW */
|
/* Applied only to completion buffer and MOW */
|
||||||
@-moz-document
|
@-moz-document
|
||||||
|
url-prefix(dactyl:),
|
||||||
url-prefix(resource://dactyl) {
|
url-prefix(resource://dactyl) {
|
||||||
|
|
||||||
*:-moz-loading, *:-moz-broken { display: none !important; }
|
*:-moz-loading, *:-moz-broken { display: none !important; }
|
||||||
@@ -75,6 +76,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@-moz-document
|
@-moz-document
|
||||||
|
url-prefix(dactyl:),
|
||||||
url-prefix(resource://dactyl) {
|
url-prefix(resource://dactyl) {
|
||||||
|
|
||||||
*:-moz-any-link:hover {
|
*:-moz-any-link:hover {
|
||||||
@@ -84,8 +86,9 @@
|
|||||||
|
|
||||||
/* Applied to completion buffer, MOW, browser window */
|
/* Applied to completion buffer, MOW, browser window */
|
||||||
@-moz-document
|
@-moz-document
|
||||||
url-prefix(chrome://),
|
url-prefix(chrome:),
|
||||||
url-prefix(resource://) {
|
url-prefix(dactyl:),
|
||||||
|
url-prefix(resource:) {
|
||||||
|
|
||||||
#TabsToolbar .tab-icon-image, .tab-throbber { -moz-box-ordinal-group: 10; }
|
#TabsToolbar .tab-icon-image, .tab-throbber { -moz-box-ordinal-group: 10; }
|
||||||
[dactyl|highlight~=tab-number] { -moz-box-ordinal-group: 20; }
|
[dactyl|highlight~=tab-number] { -moz-box-ordinal-group: 20; }
|
||||||
|
|||||||
Reference in New Issue
Block a user