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

Remove First setTimeout #85

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Remove First setTimeout #85

wants to merge 10 commits into from

Conversation

oculus42
Copy link
Collaborator

Tested in Firefox, Chrome, Safari, IE 8+

Use single quotes in the outer strings to eliminate most of the
backslashes. and improve readability.
Rather than finding it again, we can always keep the reference to the
iframe, no matter which way it was created.
Using onload in the various forms should work. Tested in Chrome,
Firefox, IE10… Will test more as time permits.
Testing in Firefox, Chrome, Safari, IE 8+
@oculus42
Copy link
Collaborator Author

I'm going to see if I can rework more timeouts, so hold off on merging, but code review is appreciated.

@oculus42 oculus42 self-assigned this Jan 16, 2017
Same fix asPR 90 for #57
Solves problems inlining the script.
@jasonday
Copy link
Owner

jasonday commented Feb 4, 2017

Looks interesting. I'd also recommend putting your name in as another author.

Try to implement postMessage to the child iframe to allow a proper
print “callback” because the print action pauses scripting in the
iframe, but not outside.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants