--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/c176c3b2-8dff-470b-9ec1-63a9dc19ffb2%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Hi Andrey,The only way to get ids of all loaded scripts is listen to Debugger.scriptParsed. Note that if the page is already loaded you will still receive scriptParsed event for each live script in the page. You can send Debugger.disable followed by Debugger.enable to re-request the list of all parsed scripts.
On Tue, Oct 22, 2013 at 9:07 AM, Andrey Sidorov <andrey....@gmail.com> wrote:
Hello,Is it possible to get all scripts ID's on the page using remote protocol after page is already loaded? (e.i listening for 'Debugger.scriptParsed' is not an option). Page.getResourceTree only gives urls and no id's. I noticed also that live edit does not work if you attach after page load - looks like it needs url<->scriptId association.
Andrey.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
Hi Andrey,The only way to get ids of all loaded scripts is listen to Debugger.scriptParsed. Note that if the page is already loaded you will still receive scriptParsed event for each live script in the page. You can send Debugger.disable followed by Debugger.enable to re-request the list of all parsed scripts.
On Tue, Oct 22, 2013 at 9:07 AM, Andrey Sidorov <andrey....@gmail.com> wrote:
Hello,Is it possible to get all scripts ID's on the page using remote protocol after page is already loaded? (e.i listening for 'Debugger.scriptParsed' is not an option). Page.getResourceTree only gives urls and no id's. I noticed also that live edit does not work if you attach after page load - looks like it needs url<->scriptId association.
Andrey.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.