Can I add an audio breakpoint for debugging the source code?
- In Sources > Add a breakpoint by clicking the line number > Right click and select "Edit Breakpoint...".
- Click Add Action > Select "Play Sound" to hear a beep sound each time the statement is executed.
Can I add an existing CSS class to an HTML element?
- Inspect the element > Look for ".cls" button in the Styles pane next to the Filter field.
- Click the button and search for the existing class names to add to the element.
- Inspect the element > Look for ".cls" button in the styles section next to the Filter Styles field.
- Click the button and search for the existing class names to add to the element.
Edge:
- Select the element in the DOM tree. In the Styles pane, click .cls and search from the list of available class names in the Add new class textbox. Press
Enter
to add the class to the element.
- Inspect the element > Look for "Classes" button in bottom row of the styles section next to the Filter field.
- Click the button and search for the existing class names to add to the element.
- Inspect the element > Open the "attributes" tab
- Add a new class into the class field, known classes from the page and CSS will automatically be suggested.
- If there is no class attribute yet, add it as a new attribute and known classes will also be automatically suggested.
Can I set a conditional breakpoint for debugging?
- In Sources, right click the line number and select "Add a conditional breakpoint..."
- Input the conditional expression on which the execution should pause, and press
Enter
.
- In Debugger, right click the line number and select "Add condition"
- Input the conditional expression on which the execution should pause, and press
Enter
.
Edge:
- In the Sources panel, right click on the line number and select Add conditional breakpoint.... Enter the conditional expression and press
Enter
.
Can I add a custom device for a responsive design mode?
- Open Settings (
F1
orShift+?
) > Devices > Click "Add custom device...". - Enter the "Device Name" and other details associated with the device. Click the "Add" button.
- Open Responsive Design Mode (
Cmd+Opt+M
orCtrl+Shift+M
) > Select "Edit List..." from the list of devices. - In Device Settings, click "Add Custom Device..." > Enter the Name and other related details > Click "Save".
Edge:
- Open Settings (
F1
orShift+?
) > Devices > Click Add custom device.... - Enter the Device Name and other details associated with the device. Click Add to add the custom device.
- Click the "+" button in the workspace, double-click anywhere in the free space, or press
Ctrl/Cmd+N
- Once the new device is added you can resize it manually and set the device and emulation options with the Emulation settings.
Can I add custom header columns to the Network requests table?
- In the Network panel, right click on the column headers > Response Headers > Manage Header Columns.
- In the Manage Header Columns popup window, click "Add Custom Header". Enter the custom header name, and click Add to add a new column to the Network requests table.
Edge:
- In the Network panel, right click on the column headers > Response Headers > Manage Header Columns.
- In the Manage Header Columns popup window, click "Add Custom Header". Enter the custom header name, and click Add to add a new column to the Network requests table.
Can I add inline styles to an HTML element?
- Inspect element > In the Styles pane, click "element.style" to input the inline style.
- Inspect element > In the Rules pane, click "element" to input the inline style.
Edge:
- Select the element in the DOM tree > In the Styles pane, click element.style and add the property: value declaration.
- Inspect element > In the Styles pane, click inside "Style Attribute" braces to input the inline style.
- Inspect element > In the Styles pane, click "property" under "element.style" to input the inline style.
Can I add log points to source code for debugging?
- In Sources > Right click on the line number and select "Add logpoint..." > Input the log statement to print in the Console without actually writing
console.log
statements.
- In Debugger > Right click on the line number and select "Add log" > Input the log statement to print in the Console without actually writing
console.log
statements.
Edge:
- In Sources > Right click on the line number and select "Add logpoint..." > Input the log statement to print in the Console without actually writing
console.log
statements.
Can I autocomplete style declaration just using values?
- Inspect an element > Navigate to the styles section (next to the DOM tree).
- Add new styles by directly entering the values like "bold", "italic" etc., and the devtools will automatically suggest the corresponding
<property>: <value>
pair for the given input.
Edge:
- Inspect an element > Navigate to the styles section (next to the DOM tree).
- Add new styles by directly entering the values like "bold", "italic" etc., and the devtools will automatically suggest the corresponding
<property>: <value>
pair for the given input.
- Inspect an element > Navigate to the styles tab
- Click the "propety" field under the style you want to edit, and the devtools will automatically suggest appropriate style properties and values for the current element.
Can I block all network requests of a domain?
- In the Network panel, right click on the network request, and select "Block request domain". This will open the Network request blocking drawer that will let you manage blocked network requests.
- In the Network panel, click the "Request Blocking" icon in the toolbar to open the Blocking pane in the left sidebar.
- Add the domain name in the input box to block all the matching requests for that domain.
Edge:
- In the Network panel, right click on the network request, and select Block request domain. This will open the Network request blocking drawer that will let you manage the blocked network requests.
- In the Network panel, right click on the request and select "Create Response Local Override" to open the Sources panel, which contains the list of all local overrides.
- Right click on the override and select "Edit Local Override...". Add the domain name in the URL pattern and use Status as
404: Not Found
to block all the network requests for that domain.
Can I block all network request matching a URL pattern?
- Open Command Menu (
Cmd+Shift+P
orCtrl+Shift+P
) > Run "Show Network request blocking". This will open the Network request blocking drawer. - Click the "+" button and add the URL pattern > Add. Reload the page for the changes to take effect. Filter on Blocked Requests by enabling the checkbox in the toolbar.
- In the Network panel, click the Request Blocking icon in the toolbar, to open the Blocking pane in the left sidebar.
- Input the URL pattern and press
Enter
. Reload the page to see the changes take effect.
Edge:
- Open Command Menu (
Cmd+Shift+P
orCtrl+Shift+P
) and Run "Show Network request blocking". PressEnter
to open the Network request blocking drawer. - Click the Add pattern button and add the URL pattern > Add. Reload the page for the changes to take effect.
- The number of blocked network requests is indicated in the Network request blocking tool. In the Network panel, enable Blocked Requests to filter on the all the requests blocked by the DevTools in the Network table.
- Hover on the URL pattern to either remove or edit the pattern. Click the Remove all patterns button to remove all the URL patterns.
- In the Sources panel, Add a new Local Override by clicking the "+" (Create Resource) button.
- Select the Type as "Block", and enter the regex for the URL pattern to override the network request for. Reload the page to see the changes take effect.
Can I block a specific network request by URL?
- In the Network tab, right click on the request and select "Block request URL". This will open the "Network request blocking" drawer that will let you manage all your blocked requests.
- In the Network tab, right click on the request and select "Block URL". This will open the "Blocking" pane in the left sidebar to manage all the blocking requests.
Edge:
- In the Network panel, right click on the request and select Block request URL. This will open the Network request blocking drawer that will let you manage all the blocked requests.
- In the Network tab, right click on the request Name, and select "Block Request URL".
- In the Sources tab, under the Local Overrides section in the left sidebar, you can manage the blocked request.
Can I take full page screenshot of a website?
- Open Command Menu (
Cmd+Shift+P
orCtrl+Shift+P
) & Run > "Capture full size screenshot" and pressEnter
. - This will save a PNG image with url as the filename in the Downloads directory.
- In the Inspector panel, right click on the
html
node > select "Screenshot Node". - This will save a PNG image with current date time as the filename in the Downloads directory.
Edge:
- Open Command Menu (
Cmd+Shift+P
orCtrl+Shift+P
) & Run > "Capture full size screenshot" and pressEnter
. - This will save a PNG image with url as the filename in the Downloads directory.
- In the Elements panel, right click on the
html
node and select "Capture Screenshot". - This will save a PNG image with current date time as the filename in the Downloads directory.
- Click the "Camera" icon above the pane you want to screenshot and select "Full page". This will open the screenshot in the screenshot editor.
Can I capture a high definition screenshot of the page?
- In DevTools, click the Toggle device toolbar icon (
Cmd+Shift+M
orCtrl+Shift+M
) to enter the responsive design mode. - In the device toolbar, click More options (
⋮
) > Add device pixel ratio. In the action bar at the top of the viewport, select a DPR value from the new DPR drop-down menu. - Click More options > select Capture screenshot for viewport or Capture full size screenshot for the entire page.
- In the Console panel, run the command
:screenshot --dpr 3
to take a high definition screenshot of the page with the device pixel ratio set to 3.
Edge:
- In Devtools, click the Toggle device toolbar icon (
Cmd+Shift+M
orCtrl+Shift+M
) to enter the responsive design mode. - In the device toolbar, click More options (
⋮
) > Add device pixel ratio. In the action bar at the top of the viewport, select a DPR value from the new DPR drop-down menu. - Click More options > select Capture screenshot for viewport or Capture full size screenshot for the entire page.
Can I take a screenshot of the DOM node?
- In the Elements panel, right click on the node and select "Capture node screenshot".
- It retains visible background colour of elements with no background colour applied.
- In the Inspector panel, right click on the node, and select "Screenshot Node".
- Firefox does not retain background transparency of the element in the screenshot.
Edge:
- In the Elements panel, right click on the node and select "Capture node screenshot".
- It retains visible background colour of the elements with no background colour applied."
- In the Elements panel, right click on the node in the DOM tree and click on "Capture Screenshot".
- Safari preserves the transparency for the elements with no applied background colour.
- Click the "Camera" icon above the pane you want to screenshot and select "Element". 2. Click the element you want to screenshot. 3. Alternatively, click the "Camera" icon in the Element inspector to screenshot the selected DOM node.
Can I capture node creation stack trace?
- Enable "Capture node creation stacks" in Settings (
F1
) > Experiments. - In the Elements panel > Select the node > Open the Stack Trace pane in the side panel to show the stack trace of the node creation.
Edge:
- Enable "Capture node creation stacks" in Settings (
F1
) > Experiments. - In the Elements panel > Select the node > Open the Stack Trace pane in the side panel to show the stack trace of the node creation.
Can I take screenshot of a web page from the console?
- Firefox has a built-in helper function
:screenshot
to capture screenshot of the current page from the console. - For example:
:screenshot
:screenshot --fullpage
:screenshot --selector .css-selector
- In Safari, you can capture screenshot of the viewport from the Console using
console.screenshot()
. - Alternatively, pass the target node to the function to capture screenshot of a specific node.
Can I take a screenshot of the viewport?
- Open Command menu (
Cmd+Shift+P
orCtrl+Shift+P
) > Run "Capture screenshot" > PressEnter
. By default, the screenshot will be saved in theDownloads
directory.
- In Console, use the built-in helper function
:screenshot
to capture screenshot of the current page.
Edge:
- Open Command menu (
Cmd+Shift+P
orCtrl+Shift+P
) > Run "Capture screenshot" > PressEnter
. By default, the screenshot will be saved in theDownloads
directory.
- In Console, use
console.screenshot()
to capture the screenshot of the viewport.
- Click the "Camera" icon above the pane you want to screenshot and select "Viewport". This will open the screenshot in the screenshot editor.
Can I change authored color format to other formats like hsl, hwb etc?
- In the Styles pane, hold the
Shift
key and click on the color preview box to cycle through the various color formats likehex
,rgb
,hsl
, andhwb
. - Alternatively, you can change the color format in the color picker using the up-down arrow keys.
- In the Rules pane, hold the
Shift
key and click on any color preview to change the color format. - It is also available as an optional default.
Edge:
- In the Styles pane, hold the
Shift
key and click on the color preview box to cycle through the various color formats likergb
,hsl
, andhwb
. - Alternatively, you can change the color format in the color picker using the up-down arrow keys.
- In the Styles pane, hold the
Shift
key and click on the color preview box to cycle through the various color formats likehex
,rgb
, andcolors.
Can I change the language of developer tools?
- Open Settings (
F1
orShift+?
) > Preferences > Under Languages, select the language from the dropdown > Reload DevTools. - Alternatively, Run Command (
Cmd+Shift+P
orCtrl+Shift+P
) > Input the language > select the language labelled "Appearance" > Reload DevTools.
Edge:
- Open Settings (
F1
orShift+?
) > Preferences > Under Languages, select the language from the dropdown > Reload DevTools. - Alternatively, Run Command (
Cmd+Shift+P
orCtrl+Shift+P
) > Input the language > select the language labelled "Appearance" > Reload DevTools.
Can I clear the command history of the console?
Chrome: In the Console tab, right click anywhere > select "Clear console history" to remove all the commands from its history.
Edge: In the Console tab, right click anywhere > select "Clear console history" to remove all the commands from its history.
Can I clear the previous commands in the console?
- Click the Clear console icon (top-left) or use the keyboard shortcut,
Ctrl+L
orCmd+K
. - Alternatively, you can run
console.clear()
in the console to clear the previous commands.
- Click the Clear the Web Console output icon in the toolbar or use
Ctrl+L
orCmd+K
to clear the console. - Alternatively, you can run
console.clear()
in the console to clear the previous commands.
Edge:
- Click the Clear console icon (top-left) or use the keyboard shortcut,
Ctrl+L
orCmd+K
. - Alternatively, you can run
console.clear()
in the console to clear the previous commands.
- Click the Clear log button (trash icon) or use
Cmd+K
orShift+L
to clear the console. - Alternatively, you can run
console.clear()
in the console to clear the previous commands.
- Click the Clear console icon (top-left) or use the keyboard shortcut,
Ctrl+L
orCmd+K
. - Alternatively, you can run
console.clear()
in the console to clear the previous commands.
Can I clear all the requests in the network log?
- In the Network panel, click the Clear network log button in the toolbar or press
Cmd+K
orCtrl+L
to clear all the network requests.
- In the Network panel, click the Clear button (trash icon) to clear all the network requests.
Edge:
- In the Network panel, click the Clear network log button in the toolbar or press
Cmd+K
orCtrl+L
to clear all the network requests.
- In the Network panel, click the Clear Network Items button or press
Cmd+K
to clear all the network requests.
Can I copy a network request as cURL?
Chrome: In the Network tab, right click on the request, Copy > Copy as cURL will copy the request with cURL command to the clipboard.
- In the Network tab, right click on the request, Copy > Copy as cURL will copy the request with cURL command to the clipboard.
Edge: In the Network tab, right click on the request, Copy > Copy as cURL will copy the request with cURL command to the clipboard.
Safari: In the Network tab, right click on the request, "Copy as cURL" will copy the request with cURL command to the clipboard.
Can I copy the request as window.fetch()?
- In the Network panel, right click on the network request > Copy > Copy as fetch.
Can I copy the request as a powershell script?
- In the Network panel, right click on the network request > Copy > Copy as PowerShell.
Can I copy a node's path as a CSS selector?
- In the Elements tab, right click on the element in the DOM tree > Copy > Copy selector.
- In the Inspector tab, right click on the element in the DOM tree > Copy > CSS Selector.
Edge:
- In the Elements tab, right click on the element in the DOM tree > Copy > Copy selector.
Safari: In the Elements tab, right click on the element in the DOM tree > Copy > Selector Path.
- In the Elements tab, right click on the element in the DOM tree > Copy > Copy selector.
Can I copy an image as a data URI?
- In the Network panel, click the image request to open a side panel containing the request details.
- Open the Preview tab to preview the image and right click on the image > Copy image as data URI
Edge:
- In the Network panel, click the image request to open a side panel containing the request details.
- Open the Preview tab to preview the image and right click on the image > Copy image as data URI
Can I copy the image url as a background-image property to directly use in CSS?
Can I copy a node's path to be used as a JavaScript expression?
- In the Elements tab, right click on the node in the DOM tree > Copy > Copy JS path. This will copy the query selector to the node that can be used in the JS code.
Edge:
- In the Elements tab, right click on the node in the DOM tree > Copy > Copy JS path. This will copy the query selector to the node that can be used in the JS code.
Can I copy a node as HTML?
- In the Elements panel, right click on the node > Copy > Copy outerHTML.
Can I copy the styles applied to an element?
- In the Elements panel, right click on the node > Copy > Copy styles.
- In the Elements panel, go to the "Computed" tab and click the "Copy styles" button.
Can I copy an object from console?
copy(object)
copies a string representation of the specified object to the clipboard.
copy(object)
copies a string representation of the specified object to the clipboard.
Edge:
copy(object)
copies a string representation of the specified object to the clipboard.
copy(object)
copies a string representation of the specified object to the clipboard.
Can I copy the response object as text?
- In the Network panel, right click on the network request > Copy > Copy response.
Can I copy style declarations as JavaScript object?
- Inspect element > In the Styles pane, right click on the style declaration and select "Copy declaration as JS" or "Copy all declarations as JS" to copy one or all styles.
Edge:
- Inspect element > In the Styles pane, right click on the style declaration and select "Copy declaration as JS" or "Copy all declarations as JS" to copy one or all styles.
Can I temporarily deactivate breakpoints while debugging source code?
- In the Sources panel, open the Breakpoints pane, click the Deactivate breakpoints (
Cmd+F8
orCtrl+F8
) icon to prevent the execution from pausing at breakpoints.
Edge:
- In the Sources panel, open the Breakpoints pane, click the Deactivate breakpoints (
Cmd+F8
orCtrl+F8
) icon to prevent the execution from pausing at breakpoints.
Can I set breakpoint and debug attr changes of a node?
- Inspect element > Right click on the node in the DOM tree.
- Select "Break on" > "attribute modifications". Reload the page.
- Inspect element > Right click on the node in the DOM tree.
- Select "Break on..." > "Attribute Modification". Reload the page.
Edge:
- Inspect element > Right click on the node in the DOM tree > Select "Break on" > Select "attribute modifications".
- Reload the page.
- Inspect element > Right click on the DOM node > Select "Break on" > Select "Attribute Modified".
- Reload the page.
Can I debug event listeners by setting a breakpoint on all or specific events?
- In the Sources tab, expand the Event Listeners Breakpoints section to see the list of event categories.
- Expand a category and enable the checkbox for the event that needs to be debugged.
- Open devtools > Debugger > Find and expand the Event Listener Breakpoints section in the right hand column.
- To break when event listeners are hit, check the boxes next the events you are interested in. All of the standard events supported in your version of Firefox are listed, arranged by which API or API area they’re part of.
Edge:
- In the Sources tab, expand the Event Listeners Breakpoints section to see the list of event categories.
- Expand a category and enable the checkbox for the event that needs to be debugged.
- In the Sources tab, click the "+" button from the left sidebar in the Breakpoints section > Select "Events Breakpoint".
- Enter the name of the event in the popup form to apply a breakpoint for a specific event.
- Alternatively, you can set breakpoint on all the events by selecting "All Events" after clicking the "+" button.
Can I debug JavaScript using devtools?
- In the Sources tab, open the
.js
file from the Page panel in the left sidebar. Set a breakpoint by clicking on the line number. - Perform the action necessary to trigger that line of code, which will pause the execution at the breakpoint.
- Use the toolbar on the right sidebar to step-in/step-out, watch expressions, local vars while debugging through the code.
- Alternatively, you can also add the
debugger;
statement in the code to pause execution of the code at that line.
- In the Debugger tab, open the
.js
file from the Sources panel in the left sidebar. Set a breakpoint by clicking on the line number. - Perform the action necessary to trigger that line of code, which will pause the execution at the breakpoint.
- Use the toolbar on the right sidebar to step-in/step-out, watch expressions, local vars while debugging through the code.
- Alternatively, you can also add the
debugger;
statement in the code to pause execution of the code at that line.
Edge:
- In the Sources tab, open the
.js
file from the Page panel in the left sidebar. Set a breakpoint by clicking on the line number. - Perform the action necessary to trigger that line of code, which will pause the execution at the breakpoint.
- Use the toolbar on the right sidebar to step-in/step-out, watch expressions, local vars while debugging through the code.
- Alternatively, you can also add the
debugger;
statement in the code to pause execution of the code at that line.
- In the Sources tab, open the
.js
file from the the left sidebar. Set a breakpoint by clicking on the line number. - Perform the action necessary to trigger that line of code, which will pause the execution at the breakpoint.
- Once activated, use the toolbar on the left sidebar (top) to step-in/step-out, watch expressions, local vars while debugging through the code.
- Alternatively, you can also add the
debugger;
statement in the code to pause execution of the code at that line.
Can I debug by setting a breakpoint when the node is removed from the DOM?
- Inspect element > Right click on the node in the DOM tree.
- Select "Break on" > "node removal". Reload the page.
Can I debug websites on remote devices?
- In the Menu bar, select Develop > Select the device > Select the page to open the Web Inspector for that URL.
Can I debug container with scrollbars to identify the element causing it?
- In the Inspector panel, elements with scrollbars are decorated with the
scroll
badge. Click on the badge to jump to the element that caused the overflow.
- Use
Cmd+D
orCtrl+D
to turn on layout debugging. Elements causing a scrollbar are highlighted in red. There is also a Horizontal overflow detector icon in the bottom left of the page to quickly spot the element causing the scroll overflow.
Can I debug speculation rules for prefetch/prerender next page navigations?
- In the Network panel, prefetched resources have the Type as
prefetch
and the Request Headers will contain the headerSec-Purpose: prefetch
which is used to identify such requests on the server-side. - In the Application panel, under the Preloading section, which has three panes: (1) Speculation Rules: list the rulesets on the page. (2) Preloads: list the prefetched & prerendered URLs from the rulesets. (3) This Page: lists the prerendered status of the current page.
Can I debug by setting a breakpoint when the subtree of the node changes?
- Inspect element > Right click on the node in the DOM tree.
- Select "Break on" > "subtree modifications". Reload the page.
Can I debug XHR or fetch calls by setting a breakpoint for a specific or all requests??
- Click the Sources tab.
- Expand the XHR Breakpoints pane.
- Click Add breakpoint.
- Enter the string which you want to break on. DevTools pauses when this string is present anywhere in an XHR's request URL.
- Press Enter to confirm.
- Open devtools > Debugger.
- In the right section, under "XHR Breakpoints", either use the checkbox to "Pause on any URL" or "Break when the URL contains" a specific keyword
Edge:
- Click the Sources tab.
- Expand the XHR Breakpoints pane.
- Click Add breakpoint.
- Enter the string which you want to break on. DevTools pauses when this string is present anywhere in an XHR's request URL.
- Press Enter to confirm.
- In the Sources tab, click the "+" button in the left sidebar within the Breakpoints section > Select "URL Breakpoint..."
- Use the popup form to apply breakpoint on specific keywords and matching conditions.
- Alternatively, you can set breakpoint on all the requests by selecting "All Requests" after clicking the "+" button.
Can I delete a node from the DOM tree?
- In the Elements panel, right click on the node and select "Delete element".
Can I detect if a website uses third-party cookies?
- In the Application panel, under the Storage section, expand Cookies. All the entries with third-party domains are the ones using cookies.
Edge:
- In the Application panel, under the Storage section, expand Cookies. All the entries with third-party domains are the ones using cookies.
Can I detect memory leaks in my web app using devtools?
- Open devtools using
Cmd+Opt+I
(on Mac) orCtrl+Shift+I
(on Windows/Linux) > Memory. - Check memory usage > Memory going only ⬆️ is a bad sign! > Capture snapshot to preview memory allocation > Find redundant objects > Navigate to where you allocated them.
- In the Memory tab, use the camera icon (top-left) titled, "Take snapshot" to capture the heap stack and establish a baseline.
- Perform any operation on the app that is suspected to leak memory, and then take another snapshot.
- To compare two snapshots, click the button that looks like a Venn diagram next to the camera icon. The diff shows you where memory was allocated or freed between the two snapshots, indicating potential candidates leaking the memory.
Edge:
- Open devtools using
Cmd+Opt+I
(on Mac) orCtrl+Shift+I
(on Windows/Linux) > Memory. - Check memory usage > Memory going only ⬆️ is a bad sign! > Capture snapshot to preview memory allocation > Find redundant objects > Navigate to where you allocated them.
- Open the Timelines tab. In the Events view, enable "JavaScript Allocations" panel in the left sidebar, by clicking the Edit button.
- Reload the page to start recording the timeline. Perform actions that are expected to be memory neutral.
- Take snapshot using the Camera icon after each repetition. Use the Compare button to compare the snapshots for any visible memory spikes.
Can I detect the meta tags missing from the HTML?
- Navigate to Info > Meta panel, under the Site information section, expand Meta tags to identify the required and optional missing meta tags on the page.
Can I disable cache for the network requests?
- Open Network panel > Look for "Disable cache" in the toolbar at the top.
- Open Network panel > Look for "Disable Cache" in the toolbar at the top.
Edge:
- Open Network panel > Look for "Disable Cache" in the toolbar at the top.
- Open Network panel > Look for the icon in the top right of the toolbar with tooltip "Ignore the resource cache when loading resources".
- In the Edit menu, select "Disable cache" and choose to disable it just for the current session, or persistently.
Can I prevent the debugger from pausing at the debugger statement?
- In the Debugger panel, expand the Breakpoints pane, and unselect the Pause on debugger statement option to prevent the debugger from pausing at the
debugger
statement.
Can I disable JavaScript on a web page?
- Open devtools. Press
Shift+Cmd+P
on Mac orCtrl+Shit+P
on Windows/Linux/Chrome OS to open the Command Menu. - Search for "Disable JavaScript" and press
Enter
to execute the command. - The yellow warning icon next to the Sources panel is the indicator that the JavaScript is disabled. It will continue to be disabled until the devtools is closed.
- Navigate to
about:config
in the address bar. Click on "Accept the Risk and Continue" while proceeding with caution. - Search for "javascript.enabled" in the preference textbox.
- Toggle the boolean value to False, using the
⇋
button.
Edge:
- Open devtools. Press
Shift+Cmd+P
on Mac orCtrl+Shit+P
on Windows/Linux/Chrome OS to open the Command Menu. - Search for "Disable JavaScript" and press
Enter
to execute the command. - The yellow warning icon next to the Sources panel is the indicator that the JavaScript is disabled. It will continue to be disabled until the devtools is closed.
- In the menu bar, navigate to Safari > Preferences.
- Click on the Security tab. Under the Web Content section, uncheck the "Enable JavaScript" checkbox.
- Open the "debug tools" of an individual pane.
- under "Disable features", select "Disable JS".
Can I disable local fonts to validate @font-face rules?
- Open Command Menu (
Cmd+Shift+P
orCtrl+Shift+P
) > Run "Show Rendering" to open the Rendering drawer. - Scroll down to locate the Disable local fonts option and select the checkbox to disable local fonts. Reload the page to apply the setting.
Edge:
- Open Command Menu (
Cmd+Shift+P
orCtrl+Shift+P
) > Run "Show Rendering" to open the Rendering drawer. - Scroll down to locate the Disable local fonts option and select the checkbox to disable local fonts. Reload the page to apply the setting.
Can I display the current frames per second (FPS) of the page?
- Open Command Menu (
Cmd+Shift+P
orCtrl+Shift+P
) > Run "Show frames per second (FPS) meter".
Edge:
- Open Command Menu (
Cmd+Shift+P
orCtrl+Shift+P
) > Run "Show frames per second (FPS) meter".
Can I drag & drop nodes anywhere inside the DOM tree?
- Inspect element or Press
Cmd+Opt+I
(on Mac) orCtrl+Shift+I
(on Windows/Linux). - Select the node and drag-n-drop to a different part of the DOM tree.
- Right click > Inspect element or Press
Cmd+Opt+I
(on Mac) orCtrl+Shift+I
(on Windows/Linux). - Select the node and drag-n-drop to a different part of the DOM tree.
Edge:
- Right click > Inspect element or Press
Cmd+Opt+I
(on Mac) orCtrl+Shift+I
(on Windows/Linux). - Select the node and drag-n-drop to a different part of the DOM tree.
- Select any DOM node from the DOM tree, drag and drop anywhere in the tree to place the element.
Can I duplicate a node in the DOM tree?
- In the Elements panel, right click on the node and select "Duplicate element".
Can I edit the node as HTML?
- In the Elements panel, right click on the node and select "Edit as HTML".
Can I edit and resend network requests?
- In the Network panel, right click on the request and select Edit and Resend.
- This will open a New Request panel, where you can edit the method, URL, query string, headers and the body of the request.
- Click Send to dispatch the request.
Edge:
- In the Network panel, right click on the request and select Edit and Resend.
- This will open the Network Console panel where you can edit the method, URL, query string, headers and the body of the request.
- Click Send to dispatch the request.
Can I emulate blurred vision on a page?
- Run Command (
Cmd+Shift+P
orCtrl+Shift+P
) > "Show Rendering" (Drawer). - Navigate to the Emulate vision deficiencies section and choose "Blurred vision".
Edge:
- Run Command (
Cmd+Shift+P
orCtrl+Shift+P
) > "Show Rendering" (Drawer). - Navigate to the Emulate vision deficiencies section and choose "Blurred vision".