简体   繁体   中英

extending google chrome devtools style inspector

Is it possible to add custom functionality to chrome devtools ?

I want to add a button in to chrome style inspecter ( green button in the picture ) .

When button is clicked, I want to show an alert with file and line number.

I read about extending devtools from google documentation, but couldn't found anything to do something like I expect.

If you think it's possible, can you tell me some starting point?

Thanks.

在此处输入图片说明

DevTools tech writer here. It's not officially supported, but there are various ways you can unofficially extend DevTools:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM