For the time being there seems to be no other way. If you are sending your votes through the script, you could add calls to transaction_status_api to wait in a loop at least until your vote becomes part of some block. According to my sources ( to be specific), that API is too sparsely used, even though it is an old API designed specifically for that purpose.
But exerting pressure on front-end devs (f.e. by filing an issue) might bear fruits in the future - without it how would they know some improvements are needed :o)
RE: Votes not being recorded on Hive - Request for support