Jump to content
UBot Underground

deliter

Fellow UBotter
  • Content Count

    603
  • Joined

  • Last visited

  • Days Won

    52

Everything posted by deliter

  1. navigate("http://network.ubotstudio.com/forum/index.php/topic/20080-how-to-exact-search-with-search-page/#entry125530", "Wait") wait for browser event("Everything Loaded", "") alert("found {$find regular expression($document text, "\\bday\\b")}") You should be using document text rather then search page,with find regular expression
  2. my regex sucks so I rely on my pure Ubot scraping skills,maybe this will help you too,this gets the first b tag,that has remote IP address in bold,,and scrapes its parent and replaces the "Remote IP Address " with nothing alert($replace($scrape attribute($element parent($element offset(<tagname="b">, 0)), "innertext"), "Remote IP Address ", ""))
  3. Whilst asking in questions in the forum you should stick to Ubot 4,or at least Ubot 5 Chrome 21,its pretty much what anybody who answers your question will be using,I recently made my first bot with Chrome 49 that works great but its still experimental,Ubot 4/Chrome 21 is a solid rock at this point
  4. use find regular expression I am crap at regex but something like \bday\b \b is word boundary word day
  5. define $containsURL(#search) { if($contains($url,#search)) { then { return("true") } else { return("false") } } } navigate("http://www.ubotstudio.com/resources","Wait") alert($containsURL("resources"))
  6. no you cant copy from the table comfortably at all,copying from text on that browser just doesnt work well,you dont need internet if you download jquery and put it their instead of getting jquery You can get the jquery by going to the link in the script ajaa.google copy and paste all of it,and paste it in <script>Paste here</script> and remove that script src line below,just be sure to do it above the bit of script i have at the end I suggest,modify the script I done above,and have it Save to clipboard on click theres a free plugin somewhere called advanced file I think that
  7. here is a second script,this exposes the table to easy ubot manipulation,whichever cell is double clicked,it gives the cell an id of "myButtonClick" and runs a ubot define,where you can customize how ubot works with the table,see this example,double click a cell it turns red,double click again and it goes back to normal,using all ubot code load html("<table id=\"customers\"> <tbody><tr> <th>Company</th> <th>Contact</th> <th>Country</th> </tr> <tr> <td>Alfreds Futterkiste</td> <td>Mari
  8. this will turn the td red when you dounble click on them,you need an internet connection as it gets the jquery library load html("<table id=\"customers\"> <tbody><tr> <th>Company</th> <th>Contact</th> <th>Country</th> </tr> <tr> <td>Alfreds Futterkiste</td> <td>Maria Anders</td> <td>Germany</td> </tr> <tr> <td>Centro comercial Moctezuma</td> <td>Francisco Chang</td> <td>Mexico</td> </tr> &l
  9. there is a feature suggestion tool in the ubot tracker,also I think that there are a lot of major problems to fix before they reach the polishing phase
  10. ayman has a file dialog picker plugin,I dont have it but with this you could certainly do it <button onClick='ubot.runScript("filePickerFunction()")'>pick file</button> and make a function that picks the file
  11. this is from stackoverflow maybe not true but I trust their word For security reasons browsers do not allow this, i.e. JavaScript in browser has no access to the File System, however using HTML5 File API, only Firefox provides a mozFullPath property, but if you try to get the value it returns an empty string: $('input[type=file]').change(function () { console.log(this.files[0].mozFullPath); }); http://jsfiddle.net/SCK5A/ So don't waste your time. edit: If you need the file's path for reading a file you can use the FileReader API instead. Here is a related question on SO: Preview an image bef
  12. I personally would do something like this,write a command,that clicks based on the number the user picks in the UI with the select,the only if's you will need to write would be some sites who's first option is Choose a Room,otherwise it will work fine EDIT I mean the only if's would be,if "Choose A room" or " Pick room numbers" exists,remove it,then use my script change attribute outerhtml = nothing check out this code http://pastebin.com/raw/e42mKc59
  13. http://pastebin.com/raw/nbXgtpXe
  14. this maybe a bit unnecessary by sometimes I do stuff like this,it just makes things easier if Ubots selectors are not complex enough for the job,Ive added a href of "here" to the code to show that it did click the right button,using pashs suggestion of element offset *would be better to use td and class= ng-binding for eachRow list,with scrape textContent but should still work load html("<table> <tr ng-repeat=\"item in blacklists\" class=\"ng-scope\"> <td class=\"ng-binding\">DON\'T WANT THIS ROW</td> <td class=\"text-right\"> <a href=\"#\" ng-click=\
  15. If you want to try learning CSS Selectors(Jquery Selectors) Ive a plugin with a few useful functions one of them is child selectors,the plugin is free in the plugin section,Ive made a quick intro video into them too on the thread Code is pretty simple,get all the children elements Value of the tagname select alert($plugin function("DeliterCSS.dll", "Deliter CSS Child Elements Selector", $document text, "select", "Value"))
  16. click(<(tagname="a" AND ng-click="setEdit(item)")>,"Left Click","No")
  17. Why were you posting was their a problem with the code?
  18. heres a fully functional quick example seems to work fine Site wont allow me to post code http://pastebin.com/raw/qadfAXRH
  19. I probably have the worst regex skills here but maybe that would help you since it is day one beginner quality this basically says to find anything from the start of a line up to an @ ,then anything after the @ up to the .ru set(#file,"safiullin.romochka@inbox.ru:password miss.tararushkina@list.ru:password nice.skorokhodko@bk.ru:password khvoevskayaa@bk.ru:password","Global") add list to list(%emails,$find regular expression(#file,".+?@.+?\\.ru"),"Delete","Global")
  20. on uk google this works run javascript("for(var x = 0; x< 1000;x++)\{document.querySelector(\"#tos-scroll\").scrollTop = x\}")
  21. the ubot eval method only works on the main browser window check out a post I made on Eval UI method,it straight converts most ubot ui commands(all but some just dont work) into code to put into your own html panel,and great for debugging too the code for the ui list box is this,this creates a variable called selection ui html panel("<div class=\"uielement\">listbox<br><select size=\"4\" variable=\"#selection\" fillwith=\"value\"><option value=\"this\">this</option><option value=\"that\">that</option><option value=\"other\">other</option&g
  22. heres a bit of help with my CSS Selector,I would do it in Xpath but Ive come from a JS background I dont really know how to select multiple elements set(#columns,$plugin function("DeliterCSS.dll", "Deliter CSS Selector", $plugin function("HTTP post.dll", "$http get", "http://london.craigslist.co.uk/", "", "", "", ""), ".col .ban", "TextContent"),"Global") add list to list(%hrefs,$plugin function("DeliterCSS.dll", "Deliter CSS Selector", $plugin function("HTTP post.dll", "$http get", "http://london.craigslist.co.uk/", "", "", "", ""), ".cats ul li a", "href"),"Delete","Global") I would recomm
×
×
  • Create New...