0

Is there a way to listen for the window.print event and hijack it? I've done some searching and can't find what I am looking for. Its not so much that I want to alter the default action on window.print but that another wordpress plugin seems to have already hijacked it and I want to use it normally.

I have window.print() in my code and it is firing off the printfriendly plugin for some reason.

Rumpleteaser
  • 4,142
  • 6
  • 39
  • 52

1 Answers1

0

thanks @delueg

The only way I can see to harness the original method is to open a new window and use the function from there.

Rumpleteaser
  • 4,142
  • 6
  • 39
  • 52