Questions tagged [web-inspector]

Web Inspectors are a built-in set of developer tools in all modern browsers. Please only use this tag if your question is strictly about these tools and make sure to include a tag for the browser you are using. Do NOT use this tag if you used the web inspector but the problem is unrelated to it.

Web Inspectors are a built-in set of developer tools in all modern browsers. They can be accessed through the context menu and provide a range of functionalities to inspect and debug currently-loaded HTML, CSS and JavaScript.

496 questions
704
votes
11 answers

Using Chrome's Element Inspector in Print Preview Mode?

I am working on developing a website and need to work on the print view. Typically when I have layout issues I use Chrome's Element Inspector. However this does not exist in print preview mode. Is there a Chrome plugin or some other way to change…
259
votes
4 answers

Chrome Dev Tools - "Size" vs "Content"

When viewing information about stylesheets in the Network tab of Chrome's dev tools, one column specifies both "size" and "content": Can anybody shed light on the difference between these two numbers? On some pages the numbers are close and others…
Mike
  • 3,261
  • 2
  • 15
  • 22
241
votes
13 answers

Suggestions for debugging print stylesheets?

I've recently been working on a print stylesheet for a website, and I realized that I was at a loss for effective ways to tweak it. It's one thing to have a reload cycle for working on the on-screen layout: change code command-tab reload but that…
Jim Puls
  • 72,152
  • 10
  • 71
  • 78
119
votes
3 answers

Debugging in Safari's Web Inspector, when using a module loader like SystemJS

I'm creating an Ionic app using es6 modules, TypeScript and SystemJS as a module loader. This is my setup: tsconfig.json: { "compilerOptions": { ... "target": "es5", "module": "system", ... } } index.html:
fikkatra
  • 5,174
  • 4
  • 29
  • 59
105
votes
14 answers

Export CSS changes from inspector (webkit, firebug, etc)

When I'm working with CSS, I'll often test in a browser - say, Chrome - right click an element, click Inspect Element, and edit the CSS right there. The use of arrow keys to change things like margin and padding makes lining things up super…
hookedonwinter
  • 11,741
  • 17
  • 55
  • 73
102
votes
6 answers

How to use chrome web inspector to view hover code

Using chromes web inspector to view code is very useful. But how do you view for example the hover code for a button? You will have to hover the mouse over the button and thus cannot use it (mouse) in the inspector. Are there any shortcuts or other…
Bo.
  • 1,347
  • 3
  • 10
  • 18
78
votes
2 answers

Debug iOS 6+7 Mobile Safari using the Chrome DevTools

iOS 6 comes with built-in support for remote debugging (1 minute screencast). It plays nice with the new Safari Web Inspector which seems to be a 1 year old fork of WebKit Inspector. It misses some features such JS editing and WebSocket frames…
NVI
  • 13,771
  • 16
  • 60
  • 102
76
votes
6 answers

Chrome Developer Tools: What is Snippets Support?

As of version 19, Chrome's Web Inspector has an experimental feature called "snippets support". Here is how to activate it: Open chrome:flags, enable "Developer Tools experiments", restart. Open Web Inspector (Developer Tools), hit the settings…
Jo Liss
  • 24,673
  • 16
  • 106
  • 158
75
votes
16 answers

How to debug web sites on mobile devices?

How do people debug websites on mobile devices? I'd like to be able to manipulate the HTML and CSS similar to using the Inspector in a desktop browser, and debug JavaScript.
Crashalot
  • 31,452
  • 56
  • 235
  • 393
71
votes
13 answers

Why Safari shows "No Inspectable Applications" during remote debugging with iOS 6 device?

When I connect my iOS 6 device for remote debugging for testing my mobile web application, The safari develop menu with my device name shows "No Inspectable Applications". I have enabled web inspector ON in my device safari device settings. Why…
Easwaramoorthy K
  • 3,687
  • 7
  • 33
  • 59
54
votes
7 answers

Accessing iOS Safari Web Inspector from Windows Machine

New iOS 6 Safari comes with Web Inspector feature which allows to connect to it from your desktop Safari via USB cable. It then allows you to debug pages opened in iOS Safari from your desktop. But as far as I seen, this feature curently supported…
Stranger
  • 744
  • 1
  • 6
  • 8
51
votes
2 answers

Where to see font files loaded by chrome in the inspector?

What tab in chrome inspector shows the font files you're loading via font-face? I can't find it under resources. I'm having an issue where one group of font-family files are loading, but another font-family is not. I have checked everything from…
o_O
  • 4,862
  • 11
  • 46
  • 84
44
votes
3 answers

How can I view the protocol used in Chrome developer tools network tab?

The network tab on Chrome developer toolbar is great, but I'd like to see what protocol was used to transfer the resource (HTTP or HTTPS). Anyone knows how I can do this, or if there's an extension to allow me to do something similar.
John Hunt
  • 3,581
  • 8
  • 39
  • 57
39
votes
5 answers

Safari web inspector is only showing Sources, Console and Audit

After upgrading to Xcode 11.3.1, I am having problems using Safari web inspector with the iOS 12.1 simulator. Every time that I run an app inside of an iOS 12.1 simulator device, it will show up in the Safari debug menu and allow me to connect to…
38
votes
2 answers

Command for loading jQuery on Google Chrome inspector?

I remember seeing that there was a specific command you could put on Google Chrome's inspector console for it to load jQuery and allow you to execute jQuery commands. However, I cannot remember which command it was, and searching online only brings…
Alpha
  • 6,876
  • 8
  • 55
  • 87
1
2 3
33 34