Stop breaking browser navigation shortcuts. (#527)
On Linux Chrome I use ALT + Arrows to go back in the browser, but instead it paginates between examples. Fixed it by checking for special key modifiers and do nothing (to the let the browser handle it). I think the user always intends a system shortcut if they use a modifier key.
This commit is contained in:

committed by
GitHub

parent
e5e90317bd
commit
e6b7ae87b5
3
public/arrays
generated
3
public/arrays
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'switch';
|
||||
|
3
public/atomic-counters
generated
3
public/atomic-counters
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'rate-limiting';
|
||||
|
3
public/base64-encoding
generated
3
public/base64-encoding
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'sha256-hashes';
|
||||
|
3
public/channel-buffering
generated
3
public/channel-buffering
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'channels';
|
||||
|
3
public/channel-directions
generated
3
public/channel-directions
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'channel-synchronization';
|
||||
|
3
public/channel-synchronization
generated
3
public/channel-synchronization
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'channel-buffering';
|
||||
|
3
public/channels
generated
3
public/channels
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'goroutines';
|
||||
|
3
public/closing-channels
generated
3
public/closing-channels
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'non-blocking-channel-operations';
|
||||
|
3
public/closures
generated
3
public/closures
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'variadic-functions';
|
||||
|
3
public/command-line-arguments
generated
3
public/command-line-arguments
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'testing-and-benchmarking';
|
||||
|
3
public/command-line-flags
generated
3
public/command-line-flags
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'command-line-arguments';
|
||||
|
3
public/command-line-subcommands
generated
3
public/command-line-subcommands
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'command-line-flags';
|
||||
|
3
public/constants
generated
3
public/constants
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'variables';
|
||||
|
3
public/context
generated
3
public/context
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'http-server';
|
||||
|
3
public/custom-errors
generated
3
public/custom-errors
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'errors';
|
||||
|
3
public/defer
generated
3
public/defer
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'panic';
|
||||
|
3
public/directories
generated
3
public/directories
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'file-paths';
|
||||
|
3
public/embed-directive
generated
3
public/embed-directive
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'temporary-files-and-directories';
|
||||
|
3
public/environment-variables
generated
3
public/environment-variables
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'command-line-subcommands';
|
||||
|
3
public/epoch
generated
3
public/epoch
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'time';
|
||||
|
3
public/errors
generated
3
public/errors
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'generics';
|
||||
|
3
public/execing-processes
generated
3
public/execing-processes
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'spawning-processes';
|
||||
|
3
public/exit
generated
3
public/exit
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'signals';
|
||||
|
3
public/file-paths
generated
3
public/file-paths
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'line-filters';
|
||||
|
3
public/for
generated
3
public/for
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'constants';
|
||||
|
3
public/functions
generated
3
public/functions
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'range';
|
||||
|
3
public/generics
generated
3
public/generics
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'struct-embedding';
|
||||
|
3
public/goroutines
generated
3
public/goroutines
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'custom-errors';
|
||||
|
3
public/hello-world
generated
3
public/hello-world
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (e.key == "ArrowRight") {
|
||||
|
3
public/http-client
generated
3
public/http-client
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'logging';
|
||||
|
3
public/http-server
generated
3
public/http-server
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'http-client';
|
||||
|
3
public/if-else
generated
3
public/if-else
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'for';
|
||||
|
3
public/interfaces
generated
3
public/interfaces
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'methods';
|
||||
|
3
public/json
generated
3
public/json
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'regular-expressions';
|
||||
|
3
public/line-filters
generated
3
public/line-filters
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'writing-files';
|
||||
|
3
public/logging
generated
3
public/logging
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'environment-variables';
|
||||
|
3
public/maps
generated
3
public/maps
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'slices';
|
||||
|
3
public/methods
generated
3
public/methods
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'structs';
|
||||
|
3
public/multiple-return-values
generated
3
public/multiple-return-values
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'functions';
|
||||
|
3
public/mutexes
generated
3
public/mutexes
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'atomic-counters';
|
||||
|
3
public/non-blocking-channel-operations
generated
3
public/non-blocking-channel-operations
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'timeouts';
|
||||
|
3
public/number-parsing
generated
3
public/number-parsing
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'random-numbers';
|
||||
|
3
public/panic
generated
3
public/panic
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'sorting-by-functions';
|
||||
|
3
public/pointers
generated
3
public/pointers
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'recursion';
|
||||
|
3
public/random-numbers
generated
3
public/random-numbers
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'time-formatting-parsing';
|
||||
|
3
public/range
generated
3
public/range
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'maps';
|
||||
|
3
public/range-over-channels
generated
3
public/range-over-channels
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'closing-channels';
|
||||
|
3
public/rate-limiting
generated
3
public/rate-limiting
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'waitgroups';
|
||||
|
3
public/reading-files
generated
3
public/reading-files
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'base64-encoding';
|
||||
|
3
public/recover
generated
3
public/recover
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'defer';
|
||||
|
3
public/recursion
generated
3
public/recursion
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'closures';
|
||||
|
3
public/regular-expressions
generated
3
public/regular-expressions
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'text-templates';
|
||||
|
3
public/select
generated
3
public/select
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'channel-directions';
|
||||
|
3
public/sha256-hashes
generated
3
public/sha256-hashes
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'url-parsing';
|
||||
|
3
public/signals
generated
3
public/signals
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'execing-processes';
|
||||
|
3
public/slices
generated
3
public/slices
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'arrays';
|
||||
|
3
public/sorting
generated
3
public/sorting
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'stateful-goroutines';
|
||||
|
3
public/sorting-by-functions
generated
3
public/sorting-by-functions
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'sorting';
|
||||
|
3
public/spawning-processes
generated
3
public/spawning-processes
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'context';
|
||||
|
3
public/stateful-goroutines
generated
3
public/stateful-goroutines
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'mutexes';
|
||||
|
3
public/string-formatting
generated
3
public/string-formatting
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'string-functions';
|
||||
|
3
public/string-functions
generated
3
public/string-functions
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'recover';
|
||||
|
3
public/strings-and-runes
generated
3
public/strings-and-runes
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'pointers';
|
||||
|
3
public/struct-embedding
generated
3
public/struct-embedding
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'interfaces';
|
||||
|
3
public/structs
generated
3
public/structs
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'strings-and-runes';
|
||||
|
3
public/switch
generated
3
public/switch
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'if-else';
|
||||
|
3
public/temporary-files-and-directories
generated
3
public/temporary-files-and-directories
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'directories';
|
||||
|
3
public/testing-and-benchmarking
generated
3
public/testing-and-benchmarking
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'embed-directive';
|
||||
|
3
public/text-templates
generated
3
public/text-templates
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'string-formatting';
|
||||
|
3
public/tickers
generated
3
public/tickers
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'timers';
|
||||
|
3
public/time
generated
3
public/time
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'xml';
|
||||
|
3
public/time-formatting-parsing
generated
3
public/time-formatting-parsing
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'epoch';
|
||||
|
3
public/timeouts
generated
3
public/timeouts
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'select';
|
||||
|
3
public/timers
generated
3
public/timers
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'range-over-channels';
|
||||
|
3
public/url-parsing
generated
3
public/url-parsing
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'number-parsing';
|
||||
|
3
public/values
generated
3
public/values
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'hello-world';
|
||||
|
3
public/variables
generated
3
public/variables
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'values';
|
||||
|
3
public/variadic-functions
generated
3
public/variadic-functions
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'multiple-return-values';
|
||||
|
3
public/waitgroups
generated
3
public/waitgroups
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'worker-pools';
|
||||
|
3
public/worker-pools
generated
3
public/worker-pools
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'tickers';
|
||||
|
3
public/writing-files
generated
3
public/writing-files
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'reading-files';
|
||||
|
3
public/xml
generated
3
public/xml
generated
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = 'json';
|
||||
|
@@ -7,6 +7,9 @@
|
||||
</head>
|
||||
<script>
|
||||
onkeydown = (e) => {
|
||||
if (e.ctrlKey || e.altKey || e.shiftKey) {
|
||||
return;
|
||||
}
|
||||
{{if .PrevExample}}
|
||||
if (e.key == "ArrowLeft") {
|
||||
window.location.href = '{{.PrevExample.ID}}';
|
||||
|
Reference in New Issue
Block a user