Script Home
  • Detailed explanation of the Puppeteer introductory tutorial

    +Read more
    Author:zyq / Release:2018-5-9 / category:css, JavaScript, Script / crowd0 views time+ / sofa /
    1, Puppeteer brief introduction Puppeteer is a node library, he provides a group of API for manipulating Chrome, generally speaking is a headless browser (of course, you can also configure it, default is no). Since it is a browser, then we can do all the things that we can do on the browser by h...
  • Example of the buffer motion effect of JS implementation

    +Read more
    Author:zyq / Release:2018-4-30 / category:JavaScript, Script / crowd0 views time+ / sofa /
    this article describes the buffering effect of JS implementation. Share for you for your reference, specific as follows: buffer needs to use numerical integration, to get up and up: Math.ceil () down to the Math.floor () moving speed slowly slow effect, the moving speed = (terminal position...
  • JavaScript generates a specified range of time list

    +Read more
    Author:zyq / Release:2018-3-19 / category:JavaScript, Script / crowd0 views time+ / sofa /
    encountered a scene, need to get the specified time range every day, meet the format of "YYYYMMDD", a simple function, the simple idea of date "to object to a lot of methods, use the following: new date (date) generating object you can directly specify the date, new date (year, month, day)...
  • Analysis of JavaScript archetype and prototype chain

    +Read more
    Author:zyq / Release:2018-3-19 / category:JavaScript, Script / crowd0 views time+ / sofa /
    , every function we create has a prototype (prototype) property. This property is a pointer, pointing to a prototype object, and the attributes and methods possessed in this prototype object can be shared by all instances. function (Person) {Person.prototype.name} = "Nicholas"; Person.prototype...
  • Common operating methods and special characters of strings in JavaScript

    +Read more
    Author:zyq / Release:2018-3-19 / category:JavaScript, Script / crowd0 views time+ / sofa /
    下面看下js字符串的常用操作方法,具体内容如下所述: charAt()            获取字符串中特定索引处的字符; toupperCase()  将字符串的所有字符转换成大写字母; indexOf()          返回字符串中特定字符串第一次出现的位置 substring()        返回字符串的某个子串 slice()               返回字符串中的某个子串,...

0Wide search 1Web Design 2Script 3Network Programming 4Database 5Operating system 6Network Security