added support for URL Parameters and Chrome Print Override

If you need to print from a URL that has parameters or is in Chrome, this should resolve issues with the original.