Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Prevent your users from getting stuck inside the tickets iframe/lightbox when they return from the ActiveTickets screens.
/* escape from iframe, when returning from ActiveTickets */
if (window.self !== window.top) {
top.location.href = location.href;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment