Hide classes/ids in Inspector tab (Firefox) - google-chrome

Is there a way to hide the class/id in Inspector tab (Firefox / Chrome)?
Example
I can't see an option to hide what I want.

Related

How can I find the innerText and outerHTML of an webpage element using the inspect window on Chome and/or Firefox?

I'm trying to manually find the innerText and outerHTML of buttons on websites by right-clicking them and pressing inspect, but I don't know where I can find these properties. The screenshot below shows what I see when I right-click --> inspect the 'compose' button in Gmail. Screenshot of inspect window on Firefox after selecting 'compose' button
Any straightforward solution (for Firefox and/or Chrome) would be very much appreciated.
You could find it by right-clicking the element and pressing inspect and after that, by right click on the tag there is an option Edit as HTML.
I think that would solve your problem.

How to disable whitespace: normal in jquery-ui css file but only for IE?

In IE11, for some reason I see bullet points on jQuery UI tabs. They disappear as soon as I click on the tab, and appear when I reload the page. Screenshot below:
This doesn't happen in Firefox. Using the debugger, I found that switching off a white-space: normal rule in the "Computed" section of the IE debugger in a loaded css (jquery-ui.css) removes all the bullets. Screenshot of that part from the debugger below:
How can I disable this rule only for IE?
Thank you.

enable default context menu in IE

Using IE11, I try to view a specific element on a webpage using "context menu"-> "Inspect element" , however on a specific webpage, "inspect element" is not accessible because the webpage has replaced the default IE11 context menu with a custom context menu.
How can I still gain access to "inspect element"from IE ?
Pressing F12 will open IE's developer tools. There, in the DOM Explorer tab, you will find the select element button, which allows you to inspect the element you click on.

How do I select DOM elements in Chrome Dev Tools by clicking on them in document?

For example I have clicked a button and it has been selected in inspector. I don't fire any events on this button if inspector is opened. Just select elements I want simply clicking on them in document. This is how dragonfly works in opera. I wish to use chrome for all purposes but inspecting DOM is tiring for me without this feature. Or maybe i have missed it in settings?
I found the solution. In inpector window in top-left corner we have loupe button. Just press it and them on DOM element on page.

Inspecting Hover-state in Firebug or Chrome DevTools

I've got an HTML element that has a CSS hover-state. There's a bug with the margin or padding on hover and every time I mouseover, the contents of the element slide a little, its annoying.
I'd like to debug using FireBug or Chrome Dev Tools, but a common problem I've had with these tools is that after I select the element from Firebug/devtools I obviously need to move the mouse back to the dev tools and the hover state is no longer enabled.
How do I inspect/debug an HTML element using these tools with the element in its hover state?
Chrome Dev Tools has a built-in :hover state selector in the Elements > Styles panel. You can toggle other pseudo-classes (like :active) there as well.
For testing :hover states in Chrome
For testing :hover state in Firefox (You need firebug add on)
Here's a screen shot for firebug & those not sharp enough to see agriboz's comment (like me)
Now you can see both the pseudo-class style rules and force them on elements.
To see the rules like :hover in the Styles pane click the small dotted box button in the top right.
To force an element into :hover state, right click the element.
Alternatively, you can use Event Listener Breakpoints sidebar pane in the Scripts panel and select to pause in mouseover handlers.