Praney Behl
-
Content Count
2328 -
Joined
-
Last visited
-
Days Won
94
Posts posted by Praney Behl
-
-
Good luck with that!
-
Well its pretty easy using a little javascript
Here:
To zoom-in use:
document.body.style.zoom = 2
Where to is the x-times zoom. You can use 1 decimal place if you want.
To zoom-out use:
document.body.style.zoom = 2
Here 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
-
Nice one mate
-
Awesome great work!
-
Well its a touch call as it might need a lot of testing and we all know how testing goes with ubot
- 1
-
Hey long time mate, good to see you're still around. I wonder there plan is...
-
Hi admins,
Its been a while, I was busy developing for other patforms. I see a sleak UI in Ubot 5 now.
Just have a quick question for the Ubot dev team - Do you guys have any plans for Cross Platform Deployment/Compile?
Just wondering if you do, or else I'll have to use nodeWebkit or something equivalent.
Thanks
-
load it from a file by using the "$read file" command.
Hope it helps.
-
-
Ok just found in another mail folder. Thanks mate.
-
Waiting for the update email.
-
Unfortunately the same link has the old plugin file.
Waiting for the update...
-
Great! Where is the updates email? How do we get it?
-
Package updated.. Download same download link from purchase.
No longer displays the cmd window when it executes.
Sweet!
-
Unfortunately i dont think its possible but I will look into it, as I think thats the php engine executing.
Maybe you can implement a way like the Advanced Shall commands Plugin works, it can run in hidden.
Here are some resources:
http://wiki.uniformserver.com/index.php/PHP_CLI:_Hidden_Process
Looking forward to that..
Thanks,
Praney
-
TJ,
Mate is there a way you could hide the CMD window that pops up while executing the code?
-
Awesome plugin TJ! Great job! Just pulling out my CC. Hey just a quick question, can the "iis express"be installed on a different location than Program files or is it mandatory to be installed there?
Thanks,
Praney
-
You can do using other external programs like AutoIT. : http://www.autoitscript.com/site/ not with Ubot.
-
Call it a limitation and Ubot is not Zennoposter and vice versa. 1000 is a good size to work with in Ubot, smaller the better as Ubot has always had memory issues but the dev. team is trying to fix. Hopefully some time in future it will be treated lets pray together...
Try to split your file into smaller chunks and then loop through them...
-
Looking forward to it..
Cheers!
-
Trying to make a simple thing here, not really working well.
I'm trying to multiply two values (each a numerical value entered into the ui html panel)... Via set > eval > Multiply variable1 * variable2
It's giving me an error saying "you cannot multiply two strings"
set(#Je_FuelCosts, $eval($multiply(#Je_FuelMileageCost, #Je_CostPerMile)), "Global")
That should work shouldn't it...?
Works for me!
http://i.imgur.com/n6WuW3T.png?1
-
I have a plugin that is enhancing Ubot and make it possible to use http post and http get (most of you know it, is a great plugin made by Aymen from this forum). I try to use this plugin to make ubot login to YouTube using HTTP Requests. I managed to get all the parameters from the login page using HTTP Get function and also using regex to sort the result. When I try to post using HTTP Post function I get as result the error page from youtube and this message: There was an issue logging you into YouTube ... Here is my code so far:
clear list(%useragents) add list to list(%useragents, $list from file("{$special folder("Application")}\\UserAgents"), "Delete", "Global") set(#useremail, "YTLogin@gmail.com", "Global") set(#userpass, "YTPassword", "Global") set(#UserAgent, $list item(%useragents, $rand(0, $subtract($list total(%useragents), 1))), "Global") set(#Proxy, "proxy:port:proxyuser:proxypass", "Global") set(#URL, "https://accounts.google.com/ServiceLogin?service=youtube&continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26feature%3Dsign_in_button%26hl%3Den_US%26next%3D%252F%26nomobiletemp%3D1&uilel=3&hl=en_US&passive=true", "Global") plugin command("HTTP post.dll", "Clear Cookies", #URL) set(#GETloginpage, $plugin function("HTTP post.dll", "$http get", #URL, #UserAgent, "www.youtube.com", #Proxy, 15), "Global") set(#continue, "http://www.youtube.com/signin?action_handle_signin=true&feature=sign_in_button&hl=en_US&next=%2F&nomobiletemp=1", "Global") set(#service, "youtube", "Global") set(#dsh, $find regular expression(#GETloginpage, "(?<=id=\"dsh\"\\s* value=\")[\\w\\W]*?(?=\")"), "Global") set(#hl, "en_US", "Global") set(#GALX, $find regular expression(#GETloginpage, "(?<=name=\"GALX\"\\s*value=\")[\\w\\W]*?(?=\")"), "Global") set(#pstMsg, 1, "Global") set(#dnConn, $nothing, "Global") set(#checkConnection, "youtube:1000:1", "Global") set(#checkedDomains, "youtube", "Global") set(#timeStmp, $nothing, "Global") set(#secTok, $nothing, "Global") set(#_utf8, $find regular expression(#GETloginpage, "(?<=name=\"_utf8\"\\s* value=\")[\\w\\W]*?(?=\")"), "Global") set(#bgresponse, $find regular expression(#GETloginpage, "(?<=id=\"bgresponse\"\\s* value=\")[\\w\\W]*?(?=\")"), "Global") set(#Email, #useremail, "Global") set(#Passwd, #userpass, "Global") set(#signIn, "Sign in", "Global") set(#PersistentCookie, "yes", "Global") set(#rmShown, 1, "Global") set(#POSTloginpage, $plugin function("HTTP post.dll", "$http post", "https://accounts.google.com/ServiceLoginAuth", "continue={#continue}&service={#service}&dsh={#dsh}&hl={#hl}&GALX={#GALX}&pstMsg={#pstMsg}&dnConn={#dnConn}&checkConnection={#checkConnection}&checkedDomains={#checkedDomains}&timeStmp={#timeStmp}&secTok={#secTok}&_utf8={#_utf8}&bgresponse={#bgresponse}&Email={#Email}&Passwd={#Passwd}&signIn={#signIn}&PersistentCookie={#PersistentCookie}&rmShown={#rmShown}", #UserAgent, #URL, #Proxy, 15), "Global") load html(#POSTloginpage)
If someone with a longer experience with HTTP Requests can help please show me what I'm doing wrong and how to make this work and login!! (I have replaced in the code here the user, pass and proxy with generic ones).
I know that in our community are great programmers that know their way around HTTP ... and I also know that very few will want to help someone else find solutions to Youtube related problems but... I still hope )
Thank you!
PS I get the user agents from an external file that I compiled from the most used user agents so you can assign one of your choice to the variable in the script
need to squeeze
-
search page for the mailto:?
But how do I find the page with the contact information on it? Not all pages are labeled "contact us"
That is the bit you'll have to code. Try finding a common ground among your sites list pages to find the contact page, or maybe a little un-efficient way is to scrape all the pages and then go with a regex gun on it.
Regex to scrape emails:
[a-zA-Z0-9\._\-]{3,}(@|AT|\s(at|AT)\s|\s*[\[\(\{]\s*(at|AT)\s*[\]\}\)]\s*)[a-zA-Z]{3,}(\.|DOT|\s(dot|DOT)\s|\s*[\[\(\{]\s*(dot|DOT)\s*[\]\}\)]\s^*)[a-zA-Z]{2,}((\.|DOT|\s(dot|DOT)\s|\s*[\[\(\{]\s*(dot|DOT)\s*[\]\}\)]\s*)[a-zA-Z]{2,})?$
Hope it helps,
Cheers!
Praney
-
Thanks for your input mate. I guess I'll have to build my own, can never save enough time.
How to scroll down a pop-up?
in General Discussion
Posted
Get an id or class or something on the popup and then execute some javascript :
var popup = document.getElementById("popupId"); // In case of id
var popup = document.getElementsByClassName("popupClassName") // In case of class as the selector.
and then:
popup.scrollTo(0, this.scrollHeight);
like say for this page here your post (#1) has an id of "post_id_99088" now assume if it was the popup and you needed to scroll down to the bottom of this post here is the code you'll use:
var popup = document.getElementById("post_id_99088");
popup.scrollTo(0, this.scrollHeight);
It would works like a charm
Hope it helps