摘要 |
An iOS device-based webpage blocking method, being applied to an iOS device comprising application programs and system components, the method comprising: an application program conducts sub-classing on a system default uniform resource locator (URL) caching object to obtain control of a network request; matching the URL character string parsed from the request message with a link character string; if the matching is successful, then generating pseudo response data and displaying according to the pseudo response data, thus blocking webpage advertisements or malicious webpages, reducing occupying of system resources and network resources, improving system operation speed and speed and smoothness of user network access, and lowering device power consumption. The present invention solves the problem in the prior art of resources being occupied by webpage advertisements or malicious webpages. |