0

Is it possible to get the Firefox developer tools Font Inspector data programmatically from the DOM? I.e., getting the used font from the DOM?

user1668240
  • 11
  • 1
  • 4

1 Answers1

0

You want to get the final CSS style for certain elements? You can use getComputedStyle:

window.getComputedStyle(document.getElementById('post-form')).fontFamily
NoBugs
  • 9,310
  • 13
  • 80
  • 146