A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.chrome.com/docs/devtools/rendering/apply-effects below:

Apply other effects: enable automatic dark theme, emulate focus, and more | Chrome DevTools

Apply other effects: enable automatic dark theme, emulate focus, and more

Stay organized with collections Save and categorize content based on your preferences.

Discover useful effects to apply to your page with this reference of the Rendering tab options.

Highlight ad frames

To check if frames are tagged as ads:

  1. Open the Rendering tab on this demo and check Highlight ad frames.
  2. Observe the ad frame highlighted in red.

Emulate a focused page

If you switch focus from the page to DevTools, some overlay elements automatically hide if they are triggered by focus. For example, drop-down lists, menus, or date pickers. The check_box Emulate a focused page option lets you debug such an element as if it is in focus.

Caution: With this option turned on, the document.visibilityState is set to visible and the visibilitychange event doesn't fire. For more information, see Page Visibility API.

To emulate a focused page:

  1. Open a page with the element to debug, for example, the YouTube website with its search bar.
  2. On the page, open the Rendering tab, then check and clear Emulate a focused page.

You can also find the same option under the :hov button on the action bar in Elements > Styles.

To discover more ways to freeze an element, see Freeze screen and inspect disappearing elements.

Disable local fonts

Check if the local font alternatives work as expected by disabling local() sources in @font-face rules.

Often, developers and designers use two different copies of the same font during development:

Disabling local fonts makes it easier for you to:

Chrome renders this sentence in Courier New if it finds this font on your device.

Emulate missing local() sources in @font-face rules:

  1. Inspect the sentence above, open Elements > Computed, scroll all the way down, and, under Rendered Fonts, discover that Chrome found Courier New in local files.

  2. Open the Rendering tab, check Disable local fonts, and refresh reload the page.

  3. Observe the sentence in Roboto found on the web.

Enable automatic dark mode

See what your site can look like in dark mode even if you didn't implement it.

Chrome 96 introduced an Origin Trial for Auto Dark Theme on Android. With this feature, the browser applies an automatically generated dark theme to light themed sites if the user opted into dark themes in the operating system.

To enable automatic dark mode:

  1. On this page, open the Rendering tab and check Enable automatic dark mode.
  2. Observe this page in dark mode.

Key point: With Auto Dark Theme enabled, the Emulate CSS media feature prefers-color-scheme drop-down list is disabled and set to prefers-color-scheme: dark automatically. Emulate vision deficiencies

Everyone should be able to access and enjoy the web. Google is committed to making that a reality.

With Chrome DevTools, you can see how people with vision deficiencies see your site, so you can make it better for them. For more information, see Simulating color vision deficiencies.

To emulate vision deficiencies:

  1. Open the Rendering tab.
  2. Under Emulate vision deficiencies, select one of the following from the drop-down list:

Disable AVIF and WebP image formats

These emulations make it easier for developers to test different image loading scenarios without having to switch browsers.

Suppose you have the following HTML code to serve an image in AVIF and WebP formats for newer browsers, with a fallback PNG image for older browsers.

<picture>
  <source srcset="test.avif" type="image/avif">
  <source srcset="test.webp" type="image/webp">
  <img src="test.png" alt="A test image">
</picture>

To disable all AVIF images on a page (or, similarly, WebP images):

  1. Open the Rendering tab, check Disable AVIF image format.
  2. refresh Reload the page and hover over the img src. The current image src (currentSrc) is now the fallback WebP image.

Similarly, you can disable WebP images.

Key point: These options disable image caching automatically.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-03-12 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-03-12 UTC."],[],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4