Jump to content
UBot Underground

deliter

Fellow UBotter
  • Content Count

    603
  • Joined

  • Last visited

  • Days Won

    52

Everything posted by deliter

  1. from what you said bot one will run when you click run bot 2, is a defined command but it is not initialized in the execution script define go{ alert("working") } go()
  2. heres how to do that, I added bootstrap to the page, to make the elements nice looking, basically you need to add a variable="#myVariable" attribute to the textbox to set the variable and for the button a onClick="ubot.runScript('myScriptHere')" to the button which fires the ubot script edit you meant the UI designer not panel, well this is still pretty much how that works ui html panel("<head> <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cyborg/bootstrap.min.css\" crossorigin=\"anonymous\"> <style> div\{ text-align:center \}
  3. best to find something else, looks really complicated
  4. to reload a page use navigate and the $url, should work for the textbox it is a change attribute command, like below, go into settings and change to chrome 21, chrome 49 is awful at rendering from the load html command load html("<head> <style> div,p\{ text-align:center; color:red; font-weight: bold; font-size: 40px; \} </style> </head> <div><input type=\"text\" id=\"inputbox\" value=\"Delete Me\"/></div> <p id=\"counter\">Starting Counter</p>") wait for browser event("Everything Loaded","") set(#position,3,"Global") loop(3) {
  5. its got to do with a combination of JS escaping quotation marks and HTML escaping quotation marks, HInsomnia wrote a post recently enough which shows how to escape in HTML, and if you check my post in the free scripts section for asynchronous HTTP Gets it shows the JS way of escaping quotes The reason the .length works is because JS doesnt need to pass quotations since .length is a type of integer, when you wanted "abc" you need to escape things so that the string has the quotes around them
  6. quick done ha define processForm { set(#first name, $scrape attribute(<first name field>, "value"), "Global") set(#second name, $scrape attribute(<last name field>, "value"), "Global") set(#gender, $scrape attribute(<checked="true">, "value"), "Global") set(#car, $scrape attribute($element offset(<tagname="select">, 0), "value"), "Global") change attribute(<first name field>, "value", "") change attribute(<last name field>, "value", "") alert("thank you {#first name}") } load html("<!DOCTYPE html> <html> <body>
  7. you were probably trying to use the submit button in the forum, which would post the information,and clear it before Ubot could scrape it, you could then scrape the URL at the top of the page and scrape out the data, easier to just put a button outside of the form, and use ubot.runScript on the form or if you wanted ubot to get the data live you could use onChange on most of the form elements, and have a command that scrapes the new values in ubot, instead of it being triggered by the button click in this code define processForm { set(#first name, $scrape attribute(<first name field&
  8. your code is probably wrong, please post your code so someone can take a look, if I had to guess you probably have set your list to delete duplicates, but thats only guessing without looking at your code, although ubots child and sibling selectors are a disgrace, better off using the the add on I made probably 1 line of code for this table, but heres every parameter on that table working fine navigate("https://www.expireddomains.net/backorder-expired-domains/", "Wait") wait for browser event("Everything Loaded", "") add list to list(%name, $scrape attribute(<class="field_domain">, "tex
  9. most likely the browser has crashed, try add $document text to a variable, or the $url function to see if ubot is still able to interact with the webpage, if that works, make sure the page has fully loaded before it executes the scrape attribute
  10. function hideshow(which){ if (!document.getElementById) return if (which.style.display=="block"){ which.style.display="none" document.body.scrollTop=0 } else which.style.display="block" } Havnt tested it, but the "document.body.scrollTop=0" line will take you to the top of the page, just make sure the line is in the part of the script thats its needed in, I think there, from looking, element goes invisible, then bring the scroll to the top of the page
  11. It is not actually a bug on Ubots end, I dont know enough about JS to understand it but the page is not allowing any eval from an outside source, all types of functions will not work on this page, such as $document text, this is a bug or a feature of CEF, this is the error CEF gets when Ubot tries to eval into Chrome "Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'"." There is a solution, using Ubot Chrome 21 works fine on this page, but as I
  12. try something like this, this changes the target attribute, then try click on it, see if it works change attribute(<id="ctl00_pageBody_LabReportsListDataMapping_ctrl0_lnkName">,"target","")
  13. if($comparison($url,"!= Does not equal",$either("URL1","URL2"))) { then { comment("not equal") } else { } }
  14. I wrote something basic here before, cant remember the thread, it was crap but something to work with for sure http://network.ubotstudio.com/forum/index.php/topic/18528-basic-scheduler-for-ubot-4/
  15. yes it does, not quite sure how to use it but I would suggest to use the normal scraper for this, image might be better for captchas and stuff like that
  16. I would like if they just dropped the whole CEF charade, in 4 months time Stealth was soon to be launched 2 years ago, it doesn't work and it never has, my update money should be spent on creating an actual usable code view, or actually hiring a developer who can complete this project, there are plenty of companies that you can purchase DLL's from that have Chrome or alternatives, which can make it easier to code, rather than free CEF Sharp to run Ubot from https://www.essentialobjects.com/Products/WebBrowser/Default.aspx
  17. someone want to post some example Exbrowser scrape code using the CSS method( Dan says you can select instead of Xpath) and I'l add an option to this
  18. Hey by exbrowser I mean assuming the plugins are now available for it, works with HTTP Post etc this plugin was written by this man https://www.redfin.com/blog/2014/06/an-extension-to-find-css-selectors.html Doesnt seem to be any copyright or anything but he made a great plugin and I have just added some things to generate scrape code for the CSS Plugin In this video I quickly generate code to scrape all the thread links on the page, you notice this plugin breaks up the css path, and by starting from the end and clicking backwords, until it gives me the desired amount of matches, I a
  19. That's cool, didn't know if you still had a ubot browser when running ecbrowser
  20. Here is a version for the Ubot 4 add list to list(%href,$list from text("https://www.youtube.com/results?q=soccer&sp=SBTqAwA%253D https://www.youtube.com/results?q=soccer&sp=SCjqAwA%253D https://www.youtube.com/results?q=soccer&sp=SDzqAwA%253D https://www.youtube.com/results?q=soccer&sp=SFDqAwA%253D https://www.youtube.com/results?q=soccer&sp=SGTqAwA%253D https://www.youtube.com/results?q=soccer&sp=SHjqAwA%253D",$new line),"Delete","Global") set(#position,0,"Global") loop($list total(%href)) { set(#get,$plugin function("HTTP post.dll", "$http get", $list item(%href
×
×
  • Create New...