Jump to content
UBot Underground

ubot_user

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ubot_user

  • Rank
    Newbie

System Specs

  • OS
    Windows 8
  • Total Memory
    4Gb
  • Framework
    v4.0
  • License
    Developer Edition

Recent Profile Visitors

1307 profile views
  1. Those commands do not clear local storage. Take for example this bot: ================ BOT STARTS HERE ====================== ui button("set data in local storage") { run javascript(" localStorage.setItem('user_id', '123456'); document.write('The site just assigned you an ID');")}ui button("print the data from local storage") { run javascript(" if(localStorage.getItem('user_id')) \{ document.write(localStorage.getItem('user_id')); \} else \{document.write('no data found');\}")} ui button("clear the data in local storage") { run javascript("localStorage.clear();document.write('locals
  2. UBotDev is right. I can not delete this files when the bot is running even using "del" command. The post that UBotDev suggested looks very promising, but there is no way to delete the local storage via these commands either. I just tried them. Also the files in "Local Storage" contain the actual data that is saved using the local storage api.
  3. Thanks for the reply, BotGuru! I tried to apply your suggestion with this bot: ui button("set") { run javascript(" localStorage.setItem('item', 'Local storage var'); document.write('local storage set');")} ui button("delete local storage") { delete file("C:\\Users\\john\\AppData\\Local\\Temp\\1d91-3c06-0348-c805\\Local Storage\\http_www.example.com_0.localstorage")} I did a test in this order:1. navigate to example.com2. click on "set" button. immediately I saw a file called "http_www.example.com_0.localstorage" in the "Local Storage" folder for the current bot instance.3. click on
  4. In Ubot Studio there is a "clear cookies" command available for a long time now. The problem is that it only deletes the cookies, not the local storage data. The local storage could be used to save data on the computer just like a cookie. So I was wondering if there is a way to clear it while the ubot is running. I found out that Ubot stores the local storage as files under a folder like %USERPROFILE%\AppData\Local\Temp\2b91-3z06-0348-c305\Local Storage\ The folder like (2b91-3z06-0348-c305) is being created on every startup of Ubot. So actually the local storage is being cleared on every st
  5. Did anybody found solution about this? I'm experiencing the same problem.
×
×
  • Create New...