Jump to content
UBot Underground

why can't we link to local files with ui html?


Recommended Posts

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 dice

http://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 by big dog status
Link to post
Share on other sites

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...

  • Like 1
Link to post
Share on other sites

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 by MiriamMB
Please watch your language. Thank you
Link to post
Share on other sites

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...