summaryrefslogtreecommitdiffstats
path: root/l10n-en-GB/devtools/shared/webconsole-commands.ftl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /l10n-en-GB/devtools/shared/webconsole-commands.ftl
parentInitial commit. (diff)
downloadfirefox-esr-upstream.tar.xz
firefox-esr-upstream.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--l10n-en-GB/devtools/shared/webconsole-commands.ftl34
1 files changed, 34 insertions, 0 deletions
diff --git a/l10n-en-GB/devtools/shared/webconsole-commands.ftl b/l10n-en-GB/devtools/shared/webconsole-commands.ftl
new file mode 100644
index 0000000000..9ab8734136
--- /dev/null
+++ b/l10n-en-GB/devtools/shared/webconsole-commands.ftl
@@ -0,0 +1,34 @@
+# 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/.
+
+
+# These strings are used inside the Web Console commands
+# which can be executed in the Developer Tools, available in the
+# Browser Tools sub-menu -> 'Web Developer Tools'
+
+# Usage string for :block command
+webconsole-commands-usage-block =
+ :block URL_STRING
+
+ Start blocking network requests
+
+ It accepts only one URL_STRING argument, an unquoted string which will be used to block all requests whose URL includes this string.
+ Use :unblock or the Network Monitor request blocking sidebar to undo this.
+# Usage string for :unblock command
+webconsole-commands-usage-unblock =
+ :unblock URL_STRING
+
+ Stop blocking network requests
+
+ It accepts only one argument, the exact same string previously passed to :block.
+# Usage string for :trace command
+webconsole-commands-usage-trace =
+ :trace
+
+ Toggles the JavaScript tracer
+
+ It supports the following arguments:
+ --logMethod to be set to ‘console’ for logging to the web console (the default), or ‘stdout’ for logging to the standard output,
+ --prefix Optional string which will be logged in front of all the trace logs,
+ --help or --usage to show this message.