keep plugin active on tab reload and change inject method