JS: Google chrome plug-in instance, js: Google chrome instance
Many friends are confused about browser plug-ins. Aren't plug-ins used in games? In fact, this is not the case. Today, we use a small example to bring you a browser plug-in written in JS.
The function of this plug-in is to achieve the small Lucky Draw function by refreshing the webpage floor.
Train of Thought, automatically fill in the content, and then trigger the button click event
On the Google console, you can directly enter js code to execute the action you want to execute,
According to the above logic, you only need to add a regular js and execute the reply task.
The Code is as follows:
Extends extends setinterval(function(extends extends Doc ument. getElementById ("textarea" extends ument. getElementsByName ("Submit") [0]. click () ;}, 5000 );
The above is all the content of this JS browser plug-in. You can try it on your own based on the principle. Thank you for your support.