big dog status 2 Posted May 22, 2014 Report Share Posted May 22, 2014 (edited) Am I losing my mind or is the only way to link to stylesheet, or a image, in ui html, is by uploading the file on your server?? C:\newbots\ctfuPoster\ui\style.css - no dicehttp://domain.com/ui/style.css - works.. If this is the f'ng case I need to rewrite most of my bot. [insert many f words here] Edited May 22, 2014 by big dog status Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted May 22, 2014 Report Share Posted May 22, 2014 Yes, its a shame that we cannot do that.What i do is put all my css codes inside the html. Quote Link to post Share on other sites
Marton 48 Posted May 22, 2014 Report Share Posted May 22, 2014 Yes, its a shame that we cannot do that.What i do is put all my css codes inside the html. Just a heads-up: I did that myself, but it actually loads much slower (which is strange since it doesn't need any GET requests). Mine was quite a huge code, but some elements in the final bot (after compilation) weren't loaded properly, but when I used the URL approach everything was fine. No, it wasn't a problem with my code, I triple checked.I also tried <style>{$read file("D:\\ubot stuff\\forms css3\\new css3 stuff\\css\\style.css")}</style> Best solution was still the URL approach. Go figure... 1 Quote Link to post Share on other sites
LazyBotter 188 Posted May 22, 2014 Report Share Posted May 22, 2014 If your images are not too big you can base64 encode them and use them that way... Quote Link to post Share on other sites
big dog status 2 Posted May 22, 2014 Author Report Share Posted May 22, 2014 (edited) Thanks guys, I love ubot but F. I pretty much have wasted a few work days, I have experienced the UI Html feature for the first and last time. Edited May 22, 2014 by MiriamMB Please watch your language. Thank you Quote Link to post Share on other sites
big dog status 2 Posted May 22, 2014 Author Report Share Posted May 22, 2014 urban.marton - Thanks for your help, this is some bs. Quote Link to post Share on other sites
big dog status 2 Posted May 22, 2014 Author Report Share Posted May 22, 2014 Lazy botter - The bot scrapes facebook videos, uploads them to youtube and then creates a wordpress post. I'm using ffmpeg to generate the images so I'm not sure if your solution will work, but thanks anyway. 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.