Fill data in HTML form with Excel sheet from Chrome Extension.
- Fill Automatic Excel Sheet Data in the HTML Form
- Send Request for Insert Entry
- and more..
Only for computer insect.
npm run build:dev
npm run watch
npm run watch:dev
npm run build-zip
- Comment all log messages
- Delete Temp Folder
<!-- Delete dist folder then run this commands -->
npm run watch
npm run build-zip
Global Variable in the Key's Custom JS Script.
// Current Active JSON Data
console.log(FillAPP.cData);
// Current Active Key Name
console.log(FillAPP.cKeyName);
// Fetch Current Active Key Details
console.log(FillAPP.htmlKeys[FillAPP.cKeyName]);
var currentFillData = this.data;
chrome-extension://celcfdcmlebphlhcadpiepjliabdobhj/options/options.html
chrome-extension://celcfdcmlebphlhcadpiepjliabdobhj/request/request.html
CreateRequest.js
try {
var req = new CreateRequest({
"url": String,
"field": {
G_bene_gender: {
defaultValue: ""
field: "G_bene_gender"
isFieldRequired: true
is_runJScript: false
jscript: ""
key: "guar_gender"
},
...
},
"data": {
ben_dob: "2015-07-12"
ben_gender: "Male"
status: (...),
...
},
"successMsg": String,
"successStatusCode": Number,
});
// Sent Request
req.sentRequest()
} catch (e) {
console.error(e)
}
fill_action
: If you do not want Automatic Form Feed or your form opens after any request, then you can place Javascript event in any HTML Element in the page.// With this, when you click on this HTML Element, only your Form Feed will start. document.querySelector("#htmlElm").addEventListener("click", FillAPP.checkNextEntry);
page_loaded
: After the page is fully loaded, you can give your Custom Script.form_filled
: After the form is successful feeded, you can give what script you want to run.form_submit
: After the form is successful submit, you can give what script you want to run.status
isLoading
totalErrorRequest
Chrome (Latest)
- Fill Form data with trigger event
- IF Request Not Send to Server Response
{"readyState":0,"responseText":"","status":0,"statusText":"error"}
- Full Page Loading in the
Request Send Page
. - Add Request Settings Tab in the
Request Send Page
. - Count Total Successfully Saved Entry Data in the
Request Send Page
. - Hide Request Error Message if run bulk entry in the
Request Send Page
. - Show and Hide Request Error Response Data in the
Request Send Page
. - Show request error if mouseover request status table row in the
Request Send Page
.
- Add new key
page_loaded
= After the page is fully loaded, you can give your Custom Script. - Add new key
fill_action
= If you do not want Automatic Form Feed or your form opens after any request, then you can place Javascript event in any HTML Element in the page.- अगर आप Automatic Form Feed नहीं करवाना चाहते या फिर आपका Form किसी Request के बाद Open होता है तो आप Page में किसी भी HTML Element में Javascript event लगा सकते है तो जैसे वह Event Call होगा Form Feed हो जायेगा।
- Select HTML Element and Run Javascript Event on selected html element
- Event Types: "click", "dblclick", "change", "copy", "cut", "paste", "submit", "focus", "focusin", "focusout", "mousedown", "mouseenter", "mouseleave", "mousemove", "mouseup", "mouseover", "mouseout", "input", "keydown", "keypress", "keyup", "load", "unload", "force"
// With this, when you click on this HTML Element, only your Form Feed will start. document.querySelector("#htmlElm").addEventListener("click", FillAPP.checkNextEntry);
- Send all the requests at once in the
Request Send Page
. - Stop/Reset
Request Status
in theRequest Send Page
. - Add New Library
npm install --save xlsx
- Export Request Excel Data in the Excel Sheet.
- FOR this site
https://trade.algofox.in
- Fixed Success URL not Match.
- Add new key
form_filled
= After the form is successful feeded, you can give what script you want to run.
- Fix Spelling Mistake
- Fix copy element selector
- Using new library
- Fix Bug: auto save entry
- After the form is successful submit, you can give what script you want to run in this custom key
form_submit
. - Run those
keys
which are not in the excel sheet - Fix Spelling Mistake
- Add Action URL Type
{fullPath, pathName}
- Update Auto Catch Element Identity
- Add Demo Site and Excel Sheet Data
- https://phppot.com/demo/php-user-registration-form/
- Form Data Request Sent on Server
- Fill Automatic HTML Form
- Use Custom JS Script in HTML Field's
If you have a problem with this plugin or found any bug, please open an issue on GitHub.
Code copyright 2020 ctechhindi. Code released under the MIT license.