When inspecting a web site, is it possible to disable a particular .css file? I can do it in FireFox but can't find the option in Chrome.
Select the "CSS" option in the Web Developer extension and click "Disable All Styles," or click the "Style Sheets" option in Pendule and click "Disable All Styles." After you click the option, the page will re-display without the styles.
If you want to remove the style for the remainder of the page session, open the DOM Inspector, locate the <link>
or <style>
element which links the style sheet, and remove the element. This causes all associated styles to be removed.
If you only want to disable the style sheet temporarily, add a new attribute disabled
to the <link>
/<style>
element. Remove this attribute to enable the style sheet again.
If the site contains lots of distracting DOM elements, you can also visit the console, and something like document.styleSheets[0].disabled = true;
(where 0
is the index of the style element).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With