Google chrome扩展程序:是否可以获取控制台输出(js错误,console.log等) [英] Google chrome extension : is it possible to get console output (js errors, console.log or etc)
本文介绍了Google chrome扩展程序:是否可以获取控制台输出(js错误,console.log等)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发chrome扩展,我真正需要的是将控制台输出作为对象。
是否有可能通过chrome扩展popup.html / popup.js或某处?
我有tab对象,我可以通过某种方式获取特定的选项卡控制台,或者在Chrome控制台中从inspector / devtool输出错误作为代码中的对象?
解决方案
Google Chrome Console无法获取控制台的输出内容。
I am developing chrome extension, and the thing that i really need is to get console output as object.
Is it possible to get any of that in chrome extension popup.html/popup.js or somewhere ?
I have tab object, can i get somehow that particular tabs console, or error output from the inspector/devtool in chrome console as object in code?
解决方案
Google Chrome Console has no possibility (upon now) to get the Output/Contents of the Console.
这篇关于Google chrome扩展程序:是否可以获取控制台输出(js错误,console.log等)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文