debuggerTips(15)
- Inspect Input PlaceholderDEBUGGERnew
Using Chrome DevTools
Show user agent shadow DOM
feature to inspect and customize input placeholders - Hide Nodes in Chrome DevToolsDEBUGGER
Using the
H
key to easily hide nodes in Chrome DevTools - Access Extended DOM History in ConsoleDEBUGGER
Using
$0
,$1
,$2
to navigate through DOM elements with extended history in Chrome DevTools Console. - Duplicate Elements in Google Chrome DevToolsDEBUGGER
Duplicate elements in Chrome DevTools using either the
right-click
option or a keyboardshortcut
. - Debugging JavaScript in 'iframe' ContextDEBUGGER
Using the JavaScript Context Drop-down in Google Chrome DevTools to Run JavaScript in an
iframe
Context - Chrome DevToolsDEBUGGER
srcset
LoadingUsing Google Chrome DevTools to identify which picture is loaded when using the
img
tag'ssrcset
attribute, which delivers pictures based on the viewport width and Device Pixel RatioDPR
. - Fix Low-Contrast TextDEBUGGER
Using Chrome DevTools to fix
low-contrast
text. - Emulate a focused page in DevToolsDEBUGGER
Enabling
Emulate a focused page
in Chrome DevTools to maintain focus for interactive elements (overlay elements), even when clicking outside the inspected element. - Operating System ModesDEBUGGER
Dark/Light
ToggleTesting the Operating System's response to the CSS media query
prefers-color-scheme
, which applies different styles for users preferring 'dark' or 'light' mode. - MakeDEBUGGER
in-browser
BookmarkletsGenerate and test bookmarklets in-browser.
- Web PerformanceDEBUGGER
LCP
SnippetUsing
LCP
Chrome DevTools Script to display information about the Largest Contentful Paint in the console which adds a green dotted line to the LCP (Largest Contentful Paint) element. - Control a Video in DevToolsDEBUGGER
Control programmatically a video to adjust playback from the Chrome DevTools.
- Remove or Disable Event ListenersDEBUGGER
Disable an Event Listener Manually using Google Chrome DevTools.
- Identify Used Fonts in Chrome vs. FirefoxDEBUGGER
Get the font used for an element in Chromium-based browsers vs. Firefox.
- CSS Line HeightDEBUGGER
2
vs.2rem
DifferencesIdentify the effects of
line-height: 2
(twice the element's font size) versusline-height: 2rem
(twice the root font size) by checking the computed style using Chrome DevTools.