Adobe Shadow Chrome扩展如何在清单中没有任何相关权限的情况下捕获dom更改? [英] How Adobe Shadow Chrome Extension be able to catch dom changes without any relevant permissions in manifest?
问题描述
关于Shadow Chrome扩展侦听页面中的DOM,JavaScript和CSS更改。当您点击Chrome扩展程序中的远程检查按钮时,我们会打开一个窗口给weinre服务器,并将所需的weinre javascript注入设备的页面。weinre窗口看起来像Chrome Dev Tools,因为它们都使用WebInspector,它是部分WebKit。
Shadow Chrome扩展程序不会在页面级别收听任何内容。它会从选项卡权限获取发送到设备的URL。
Adobe release new interesting product - Adobe Shadow. And in its core is a chrome extension which listen for connection of a remote devices (its also interesting how this is done, but i think its might utilize own http service to communicate such request), but whats more interesting is that it listen for DOM, JavaScript and CSS changes (using chrome inspector for developers) and communicate this changes to othere devices. Yet in manifest this extension is only declare it was aware of only tabs switch activity - how this is possible?
You are incorrect about the Shadow Chrome Extension listening for DOM, JavaScript and CSS changes in the page. When you click on the Remote Inspection button in the Chrome Extension, we open a window to a weinre server and inject the required weinre javascript into the page on the device.The weinre window looks like Chrome Dev Tools because they both use WebInspector, which is part of WebKit.
Read More About This In The Shadow FAQ
The Shadow Chrome Extension doesn't listen to anything at the page level. It gets the URL to send out to devices from the tabs permission.
这篇关于Adobe Shadow Chrome扩展如何在清单中没有任何相关权限的情况下捕获dom更改?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!