How to grab red packets on web pages by Javascript
Most people do not understand the knowledge points of this article "Javascript how to grab red packets on the web page", so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "Javascript how to achieve web pages to grab red packets" article.
At first, use Firefox plus Firebug/YSlow plug-in analysis, but firefox can not run custom javascript, it seems that there are some plug-ins to install. So switch to chrome, found that chrome is still good, directly write a javascript can be installed as a plug-in.
In the middle of Taobao also changed the script several times, of course, each time is more or less the same. I admire the miserable Taobao programmer who has to work overtime on weekends to change the script.
The appendix is a version of the script I wrote that calls the
Volcano.BrickRate=1.0;Volcano.Brick.getLottery (KISSY)
KISSY is something similar to JQuery. It takes a long time to figure it out.
After hanging for two days, I won only 50 yuan in total. It is said that the grand prizes are all on the inside, you know. Taobao as long as according to the account to distribute awards, plug-in script is useless, .
Second edition of the script.
/ / tmall scripts in Chrome / = UserScript==// @ name tmall// @ namespace google// @ author vesor// @ description Simple userscript to grasp tmall lottery// @ include http://www.tmall.comVolcano.BrickRate=1.0;Volcano.Brick.getLottery(KISSY);//var L = S.DOM.get ("# J_Lucky"); / / L.click (); if (+ + tryCount) setTimeout (loopWrapper, 100);} loopWrapper (); console.log ("tmall.user.js: Loaded") }} catch (e) {console.log ("Failed loading tmall.user.js");} the above is the content of this article on "how to grab red packets on the web page by Javascript". I believe everyone has a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.