deliter 203 Posted November 6, 2015 Report Share Posted November 6, 2015 Hey Everyone, This is my first plugin so expect some errors I have had too many instances of being paid to give a Ubotter help,particularly beginners,and they do not have Aymans HTTP plugin so I cannot use Xpath and have to work way too hard with the script,so here is a solution Its pretty cool and appears to work well To get a CSS expression use Chrome Dev Tools,or Ubot 5.9+ using Chrome 39 #,open Web Inspector,click the inspect button,and click the element you want to select,like the Ubot element Inspector,and in the inspector the area is highlighted,right click the highlighted area and select,"Copy CSS Path" Hope you like it https://www.dropbox.com/s/8ayjnj3kxwpiqyo/CSSPluging.dll?dl=0 The name of the Ubot function is "CSS selector" in your toolbox,it should be in the "HTML Functions" Category code example *Finding Class Name fixed navigate("http://network.ubotstudio.com/forum/index.php/topic/18575-css3-selector-for-ubot-my-first-pluginxpath-alternative/","Wait") wait for browser event("Everything Loaded","") alert($plugin function("CSSPluging.dll", "$CSS Selector", $document text, "#content > div.ipsBox_withphoto > h1", "TextContent")) Quote Link to post Share on other sites
pftg4 102 Posted November 8, 2015 Report Share Posted November 8, 2015 hi there you don't have a plugin key or there is a problem with just fyi 1 Quote Link to post Share on other sites
deliter 203 Posted November 8, 2015 Author Report Share Posted November 8, 2015 Yeah I have yet to get a plugin key Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted February 12, 2016 Report Share Posted February 12, 2016 Did you get a plugin key? Quote Link to post Share on other sites
deliter 203 Posted February 12, 2016 Author Report Share Posted February 12, 2016 No, I've been working on a suite of functions,I was a bit busy with other work the last few weeks,the above plugin wasn't really ready, it is now ready with more functions too, Give me one more week, and get excited PS since adding some functions and refining the above function, today I had my first bot project which I was working on all day, using the tools,it was hands down the most productive day I've ever had, got so much work done and so easy with no complications 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.