g.pickardou
g.pickardou

Reputation: 35853

Chrome developer tools from JavaScript

Is there any way to access meta information provided by Chrome developer tools in JavaScript on a page? For example the bounding rectangle of an element, if element under cursor etc.

Thx for answers

Upvotes: 3

Views: 428

Answers (1)

Alexander Pavlov
Alexander Pavlov

Reputation: 32286

No, this information is not available directly through JS. However you can use the remote debugging (and the Debugger API is available as a transport in your extensions) to get that info.

Upvotes: 3

Related Questions