简体   繁体   中英

filling web form automatically - chrome extension

I need to open some forms which are opened for limited time only. Sometimes it will open for 5 minutes a day and form itself will take 10 minutes to fill as it has 50+ fields. I am thinking to make "Google Chrome extension " cloning the original form and have one button "Autofill". As soon as I click on autofill it will pass data from extension form to website form.

Any ideas?

you could use script injection, like run some function from console, the function retrieves those forms using js selectors and changes those input values, after that the function causes artificial submit button click.

See this article for farther information - Chrome extension execute script

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM