How to save iframe's content in standalone mode #1055
Unanswered
dontfireme
asked this question in
Q&A
Replies: 1 comment
-
The code of SingleFile is injected in all frames when running into an extension. It relies on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to use SingleFile from JS console to archive some pages. I noticed that the standalone mode (copy-pastying SingleFile source into browser's console) cannot access some of the iframes due to the same-origin policy.
This is how I use it in the browser:
essentially this piece of code is throwing:
Everything works well when using extension, so, my question is what kind of magic the extension does that makes it work? 🤔
Thank you for the awesome package!
Beta Was this translation helpful? Give feedback.
All reactions