Click here to Skip to main content
15,560,584 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am making google chrome extension project, where i need to close print preview window from my jquery code. Print preview window open automatically when i call site option from my google chrome extension project.

I have also try with --disable-print-preview. in this case open print popup. so if anyone have idea to close print popup with jquery then it's also suitable for me.

What I have tried:

I want to close print preview popup of google chrome browser using jquery.
Close print preview window from google chrome extension project using jquery - Stack Overflow[^]
Posted
Updated 29-Dec-17 3:35am
v2

I fear "print preview window" is under user control and that you can't close it.
It would be certainly better to not open it in first place.
 
Share this answer
 
jQuery is just glorified javascript. It's not possible to affect the functionality of the browser from javascript. This would be a MASSIVE security risk if it was.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900