Browser zoom state detecting method and apparatus

2014 
The present invention provides a browser zoom state detecting method and apparatus, the method comprising: after loading the browser page JS file browser to identify, obtain browser information, wherein the identification information comprises browser browsing core type information device; core according to the type of browser information, acquires kernel type of the browser display screen corresponding to the parameter, and the parameter is determined according to the screen display scaling browser; in accordance with the scaling said zoom state determination browser. The present invention reduces because the page insert Flash to bring the waste flow through different types of core browser screen display parameters to determine the scale, only detect the zoom state different types of core browser by JS, reducing the difficulty of code maintenance. At the same time, avoiding the use of setInterval timer, reducing the system memory resource consumption.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []