agilebits / onepassword-app-extension

1Password Extension for iOS Apps
2.58k stars 312 forks source link

Support for running javascript before complete password #406

Closed cperezabo closed 4 years ago

cperezabo commented 5 years ago

Sometimes you have to deal with bad developed sites which doesn't allows you to autocomplete fields, for those cases I have some bookmarklets that for example change the autocomplete value for some tag in order to allow 1Password to fill that field. It adds more steps to the process. It would be magical if as an advanced option one could add some javascript code to be executed before the field filling. I could for example run the following code I am actually running with a bookmarklet

javascript:document.querySelector('input[type=password]').autocomplete = '';

It isn't a hard to implement feature and would be very helpful