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

optimize javascript code borrowed from wordpress #2

Open
diplix opened this issue Dec 14, 2015 · 0 comments
Open

optimize javascript code borrowed from wordpress #2

diplix opened this issue Dec 14, 2015 · 0 comments

Comments

@diplix
Copy link
Owner

diplix commented Dec 14, 2015

wordpress imposes heavy restriction on (iframe) embeds from non-trusted sites (all sites not whitelisted). wordpress sanboxes untrusted iframes and only allows script excecution. i copy & pasted all the js code that wordpress puts into their own embeds, which is a bit much, since we only need the messaging component, that checks the secret and initiates messaging with the parent page to allow top navigation links.

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

No branches or pull requests

1 participant