dmbfan 9 Posted January 9, 2019 Report Share Posted January 9, 2019 I am working on a project where a webpage loads that contains the name and other protected information of medical patients. I am trying to obscure some of the personal information so that it is not visible to the end user. What I have tried so far is adding a "wait for browser event" and selected "DOM Ready" then I use the change attribute command to change the innertext of all the sensitive elements to the word "Obscured" The process works, however there is a brief period of time where the page loads and the patient name is still visible before the attribute is changed. I have also tried waiting for the specific element, but that also displays the sensitive information briefly. Is there a clever way to hide the entire browser view from the user while the bot is changing the attibutes? and/or is the a better/quicker way to change attribute values so that the data does not appear? Quote Link to post Share on other sites
bestmacros 60 Posted January 9, 2019 Report Share Posted January 9, 2019 you can hide browser data by using : set visibility("Invisible")http://wiki.ubotstudio.com/wiki/Set_Visibility 1 Quote Link to post Share on other sites
dmbfan 9 Posted January 9, 2019 Author Report Share Posted January 9, 2019 Thank you! Changing the visibility does the trick! I had no idea that command even existed! Quote Link to post Share on other sites
matimagallanes 0 Posted January 22, 2019 Report Share Posted January 22, 2019 on load("Bot Loaded") { change attribute(<id="x">,"style","display: none;") } 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.