Home > front end >  A key to how to automatically fill in the web page information
A key to how to automatically fill in the web page information

Time:10-06

The teacher let us Saturday rob qualification registration, need to fill out a lot of personal information on the web, is there any way to write information in advance, and then enter a key into the web page form, specific methods,

CodePudding user response:

Can be put to the content of the entry to an array of js, button, take out the data in the array, one by one to form assignment, jquery, or vue. Js

CodePudding user response:

reference 1/f, mountains and lakes response:
can be put to the content of the entry to an array of js, button, take out the data in the array, one by one to form the assignment, jquery, or vue. Js

Look not to understand, never understand these

CodePudding user response:

Using var form=document. Forms [0]. Access to the page you want to fill out the form, where 0 means the first form on a page, if you want to get the second form is changed to 1, the third form is changed to 2,
Then use the form. The form element name. Value="https://bbs.csdn.net/topics/to fill out the contents of the"; Code to fill out the form, the form element name can know by viewing the page source code,

Such as page form is


Press the F12 key to open the developer tools in the browser, column in the console, the input:
Var form=document. Forms [0];
Form. The username. Value="https://bbs.csdn.net/topics/zhang SAN";
Form. The password. The value="https://bbs.csdn.net/topics/c1234";
Form. Qq. Value="https://bbs.csdn.net/topics/23565765";

CodePudding user response:

Method one: to be a two or three small web page, with a database, access database can stand naked, no style, first to input data is recorded in advance, when the time comes directly from the code into the

Method 2: fill in to an excel table, write their own a small handler, then through the excel data import page

CodePudding user response:

The original poster is said is a key to how to fill in a registration system into the information? Registration system should not be your own website? It is equivalent to their own data, a key to how to fill in the other people's web page I also need this function, but it seems it's not a good solution,

CodePudding user response:

Write their own a piece of code in the console paste to submit

CodePudding user response:

F12 directly to see if the sending of what is in the request parameters, and then send requests directly encapsulation parameters with respect to ok

CodePudding user response:

Browser with function of filling
  • Related