From memory, settings are stored in the session.
I think that you can add a settings for each view you processed:
So next time you enter the on_load event, you first checked the settings and do nothing if it's already processed:
if not self.view.settings().get('Tabright_processed', False):
# your processing code
Settings will be discarded when you close the file.
This is totally hypothetical and not tested...