Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Two instances of postscribe at the same time? #469

Open
dirkholzapfel opened this issue Oct 27, 2017 · 2 comments
Open

Two instances of postscribe at the same time? #469

dirkholzapfel opened this issue Oct 27, 2017 · 2 comments

Comments

@dirkholzapfel
Copy link

We use postscribe to dynamically show ads. An AdManager we use (http://admanager.pushfire.de/admanager.js) has postscribe included (see line 389) on its own.

With this setup we get errors like postscribe.js?e558:170 Uncaught Error: Bad script nesting or script finished twice.

I would like to know if postscribe is supposed to work under these circumstances?

@giannoudak
Copy link

hi, i am having the same issue? is there any update on this?

@dirkholzapfel have you managed to find a solution/workaround?

Thanks in advance

@dirkholzapfel
Copy link
Author

@giannoudak
becaue of the way pushfire included postscribe
http://admanager.pushfire.de/admanager.js (see line 431) we were able to work around like this:

import postscribe from 'postscribe'
window.postscribe = postscribe

that way pushfire uses our postscribe version. and that's also a problem - as soon as we use incompatible versions - this won't work anymore.

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

No branches or pull requests

2 participants