Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 848
g.pickardou Avatar asked Dec 06 '25 06:12

g.pickardou


1 Answers

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.

like image 76
Alexander Pavlov Avatar answered Dec 08 '25 08:12

Alexander Pavlov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!