Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts with document.write to fails to execute #13

Open
shakee93 opened this issue Dec 5, 2017 · 3 comments
Open

scripts with document.write to fails to execute #13

shakee93 opened this issue Dec 5, 2017 · 3 comments

Comments

@shakee93
Copy link

shakee93 commented Dec 5, 2017

scripts with document.write fails to execute. is there any workaround to bypass this ? it is working without vue.. it doesnt work when i use the script2.

this is the warning :
Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened.

@taoeffect
Copy link
Owner

I have no idea how to "explicitly open" whatever it's talking about, and also haven't the time at the moment to investigate this myself (sorry).

But this is an acknowledged bug and if anyone else has any suggestions please let me know!

@shakee93
Copy link
Author

shakee93 commented Dec 6, 2017

i have done some research these lib's seems to solve the issue.. we can get an idea to fix this

https://github.com/krux/postscribe
https://github.com/iamnoah/writeCapture

@shakee93
Copy link
Author

shakee93 commented Dec 6, 2017

postscribe fixes the issue.. checkout the jsfiddle

https://jsfiddle.net/shakee93/43hou4kt/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants