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

Opera 12 prints whole page #24

Closed
Rast1234 opened this issue Jan 23, 2014 · 2 comments
Closed

Opera 12 prints whole page #24

Rast1234 opened this issue Jan 23, 2014 · 2 comments

Comments

@Rast1234
Copy link

Thank you for such a great plugin! I tested it's basic functionality (print given element) across Firefox, Chrome, IE11-10-9-8 and both "new" and "old" Operas. It works everywhere, but Opera 12. If I call .printThis() on a particular element, it prints whole page.
Jsfiddle: http://jsfiddle.net/dJjMz/2/

Why Opera 12? Because some people didn't like new engine and refuse to move to another browser. D'oh..

BTW, what does comments on that lines mean?

line 26: what (who) is S. Vance?
line 53: "IE works if document.domain is not explicitly set" - this place is executed if browser is not IE, maybe I don't understand something? :)
@jasonday
Copy link
Owner

I removed support for Opera, as for Opera you have to create a entirely new page/tab instead of the iframe. It just gets too complicated.

@jasonday
Copy link
Owner

this older plugin, on which mine is partially based, supports Opera:
https://github.com/permanenttourist/jquery.jqprint

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

2 participants