What are the parameters in the post request sent by the javascript-B station?

Source: Internet
Author: User
Using chrome to capture the requests sent to Site B when sending a bullet screen, we found that two parameters in FormData are not quite understandable. 1. pool is the number of the bullet screen pool 2. fontsize is the font size 3. cid is user id6.message. it is the bullet screen content I sent. 7. mod is the bullet screen mode (that is, top, scroll, etc.) 8. playtime is in...

Using chrome to capture the requests sent to Site B when sending a bullet screen, we found that two parameters in FormData are not quite understandable.

1. the pool is the number of the bullet screen pool.
2. fontsize is the font size.
3. cid is the user ID
6. message is the bullet screen content I sent
7. mod is the bullet screen mode (that is, top, scroll, etc)
8. playtime is the time that appears in the video. in seconds, playtime can be precise to three digits after the decimal point.
9. color indicates the color number.

But I don't quite understand either rnd or date. Because the formdata submitted by him does not contain the video av number, I think the rnd and date should be related to the av number and the current time. rnd I suspect is a random number generated on the interface, date should be the result of the current time after some algorithm processing.

Has anyone ever seen this FormData? Can you guess how to generate rnd and date?

Reply content:

Using chrome to capture the requests sent to Site B when sending a bullet screen, we found that two parameters in FormData are not quite understandable.

1. the pool is the number of the bullet screen pool.
2. fontsize is the font size.
3. cid is the user ID
6. message is the bullet screen content I sent
7. mod is the bullet screen mode (that is, top, scroll, etc)
8. playtime is the time that appears in the video. in seconds, playtime can be precise to three digits after the decimal point.
9. color indicates the color number.

But I don't quite understand either rnd or date. Because the formdata submitted by him does not contain the video av number, I think the rnd and date should be related to the av number and the current time. rnd I suspect is a random number generated on the interface, date should be the result of the current time after some algorithm processing.

Has anyone ever seen this FormData? Can you guess how to generate rnd and date?

The problem has been solved. rnd can generate a random number of 9 digits at random. date is the timestamp, and the script of Site B's automatic bullet screen has been completed. thank you for your answers.

Isn't date a timestamp? if the number of digits is incorrect, it may be in milliseconds. I don't know the other one. I will send another bullet screen to see if rnd has changed.

Date should be the time stamp sent, in milliseconds.
Rnd may be random? Random number?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.