html2pdf.it
html2pdf.it copied to clipboard
Something odd is happening with the zoom of this page; very interesting
So while making a bookmarklet I was testing on Mozilla Developer Pages, specifically looking up the document page and it's properties (as I am just learning all this lol), and encountered a very odd occurance with the zoom levels. So far my bookmarklet has worked perfectly every where else.
Anyway, here is the URL used and corresponding outcome: (FYI initially I also had the '&download=true' incorporated, but removed it for demonstration here)
http://www.html2pdf.it/?url=https://developer.mozilla.org/en-US/docs/Web/API/Document&zoom=9
http://www.html2pdf.it/?url=https://developer.mozilla.org/en-US/docs/Web/API/Document&zoom=0.1
http://www.html2pdf.it/?url=https://developer.mozilla.org/en-US/docs/Web/API/Document&zoom=0.01
9 considerabally shrunk the page! 0.1 enlarged the page! 0.01 cut off 99% of the page!
Also quick question here because don't want to start new ticket: Is it easy to route my bookmarklet through a local server on my PC so I don't contribute to your bandwidth bill? I honestly feel that if I switched the URL from your web address to my local address that it would work, but I've ran into many a problems where you can't do something like that. Something about xhr or javascript being unable to execute local stuff on client side due to protection of the user (chrome sandbox maybe?) Lol you can tell I don't know much at all, but always learning.
Another reason why I ask, is the first time I tried to execute my bookmarkelt
javascript: void(open('https://www.html2pdf.it/?url=' + encodeURIComponent(document.location) + '&download=true&filename=' + encodeURIComponent(document.title)))
it introduced a page that said this is unsafe to visit from your connection; pretty confident it was the 'Your connection is not private"