Merge pull request #483 from fabian-z/master
Make noVNC compatible with Content Security Policies
This commit is contained in:
commit
fc0cdfdb02
@ -238,6 +238,7 @@ html {
|
||||
position: relative;
|
||||
left: -40px;
|
||||
z-index: -1;
|
||||
ime-mode: disabled;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -185,6 +185,7 @@ var UI;
|
||||
|
||||
$D("keyboardinput").oninput = UI.keyInput;
|
||||
$D("keyboardinput").onblur = UI.keyInputBlur;
|
||||
$D("keyboardinput").onsubmit = function () { return false; };
|
||||
|
||||
$D("showExtraKeysButton").onclick = UI.showExtraKeys;
|
||||
$D("toggleCtrlButton").onclick = UI.toggleCtrl;
|
||||
|
3
vnc.html
3
vnc.html
@ -70,8 +70,7 @@
|
||||
style for example -->
|
||||
<textarea id="keyboardinput" autocapitalize="off"
|
||||
autocorrect="off" autocomplete="off" spellcheck="false"
|
||||
mozactionhint="Enter" onsubmit="return false;"
|
||||
style="ime-mode: disabled;"></textarea>
|
||||
mozactionhint="Enter"></textarea>
|
||||
<div id="noVNC_extra_keys">
|
||||
<input type="image" alt="Extra keys" src="images/showextrakeys.png"
|
||||
id="showExtraKeysButton" class="noVNC_status_button">
|
||||
|
Loading…
Reference in New Issue
Block a user