mr.kim8692 2 Posted July 2, 2014 Report Share Posted July 2, 2014 (edited) Hey guysMy name 's KIM. I have problem.How to zoom a web page in the browser ? What's Command ?Thanks you very much Edited July 3, 2014 by mr.kim8692 Quote Link to post Share on other sites
mr.kim8692 2 Posted July 3, 2014 Author Report Share Posted July 3, 2014 Bump for this 1 Quote Link to post Share on other sites
the_way 52 Posted July 3, 2014 Report Share Posted July 3, 2014 u cant, whats the reason u trying to do this, maybe another way around it. Quote Link to post Share on other sites
Praney Behl 314 Posted July 3, 2014 Report Share Posted July 3, 2014 Well its pretty easy using a little javascript Here:To zoom-in use: document.body.style.zoom = 2Where to is the x-times zoom. You can use 1 decimal place if you want. To zoom-out use: document.body.style.zoom = 2Here is an implementation using ubot buttons: ui button("ZoomIn") { run javascript("document.body.style.zoom = 2") } ui button("ZoomOut") { run javascript("document.body.style.zoom = 1") }Hope it helps. Good Luck Quote Link to post Share on other sites
mr.kim8692 2 Posted July 4, 2014 Author Report Share Posted July 4, 2014 (edited) Well its pretty easy using a little javascript Here:To zoom-in use: document.body.style.zoom = 2Where to is the x-times zoom. You can use 1 decimal place if you want. To zoom-out use: document.body.style.zoom = 2Here is an implementation using ubot buttons: ui button("ZoomIn") { run javascript("document.body.style.zoom = 2") } ui button("ZoomOut") { run javascript("document.body.style.zoom = 1") }Hope it helps. Good Luck Thanks Buddy, Awesome, Much appriciatedKIM Edited July 4, 2014 by mr.kim8692 Quote Link to post Share on other sites
Bot-Factory 602 Posted July 4, 2014 Report Share Posted July 4, 2014 Mmm. Would it be a good idea for Ubot's next update to have a Zoom in and out feature ? I think so. It would be a much better idea to fix all the remaining bugs in v5... Just saying 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.