kdzwinel / SnappySnippet

Chrome extension that allows easy extraction of CSS and HTML from selected element.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error! DOM snapshot could not be created. Make sure that you have inspected some element.

estomagordo opened this issue · comments

At one point, I got lucky enough to get this plugin to work (but the output HTML and css seemed to be greatly missing), but since then (same session), I can't get it to work again. No matter what technique I use to select an element, I get the error message mentioned in the subject.

What am I missing?

Are you selecting element inside of an iframe? Are selecting an element inside of shadow DOM? Can you provide more details? Preferably a minimal example on jsbin.

Yes, this was inside an iframe. Is that unsupported?

shoudl be supported, but maybe there is some cross-origin edge case. If you can share it with me, please do, I'll look into it. The quick fix for now is to open the iframe in a new window (right click on it and there will be an option to do so).