我在 chrome 浏览器console (F12调出来),输入:
> prompt(chrome.i18n.getMessage("entering"), "")
==》TypeError: Cannot call method 'getMessage' of undefined
chrome.windows.getCurrent(function (window)
==> TypeError: Cannot read property 'getCurrent' of undefined
请问,chrome.windows.getCurrent 是chrome原生函数吗? 进行如何设置后,即可 在CONSOLE下 执行相关操作 ?
> prompt(chrome.i18n.getMessage("entering"), "")
==》TypeError: Cannot call method 'getMessage' of undefined
chrome.windows.getCurrent(function (window)
==> TypeError: Cannot read property 'getCurrent' of undefined
请问,chrome.windows.getCurrent 是chrome原生函数吗? 进行如何设置后,即可 在CONSOLE下 执行相关操作 ?
