deep-autofill-chrome-extension
deep-autofill-chrome-extension copied to clipboard
Anyway to autofill file uploads?
Is there anyway to modify this code to automatically upload a file from a local location to a site?
Regarding to this topic I would bet no. https://stackoverflow.com/questions/6021526/programmatically-set-the-value-of-a-type-file-input-html-element
Javascript control over file input fields is very limited. Otherwise people could use this to steal files from user's computers.
However since this is an Chrome addon it might be possible but it is a question for Chrome addon problem discussions. This question exceeds my experience. If a Chrome Addon is able to do that sure you can modify the code to solve the problem.
The place where the magic happens is at https://github.com/s-a/deep-autofill-chrome-extension/blob/master/run.js#L116