Method and device for intercepting page elements

A page element and page technology, applied in the information field, can solve problems such as wrongly blocking page content, unsightly pages, and inability to block text page elements, and achieve comprehensive and accurate blocking effects

Inactive Publication Date: 2014-12-17
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] However, the interception of page elements using the above scheme mainly has the following problems: after interception, the position of the original page elements is le

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for intercepting page elements
  • Method and device for intercepting page elements
  • Method and device for intercepting page elements

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0036] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. . Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0037] The embodiment of the present invention provides a method for intercepting page elements. The solution in this embodiment is implemented on the terminal side. The specific implementation of the solution may be the terminal or the client in the terminal, which is not limited in the embodiment of the present invention. . Such as figure 1 Shown, including:

[0038] 101: Receive the hiding rule file; detect the Uniform Resou...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a method and device for intercepting page elements. The method comprises the steps that a hidden rule file is received; a uniform resource locator (URL) in a current browser is detected, and a current domain name is determined according to the URL; the page elements corresponding to the current domain name and needing to be hidden are obtained from the hidden rule file according to the current domain name; an instruction is sent to the browser, and the browser is indicated to hide the page elements corresponding to the current domain name and needing to be hidden. The page elements needing to be hidden are carried in the hidden rule file, and the page elements corresponding to the current domain name and needing to be hidden are obtained from the hidden rule file by determining the current domain name and according to the current domain name; the page elements need to be hidden are then hidden, and thus the effect that the page elements irrelevant to text are comprehensively and accurately intercepted is achieved.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a method and device for intercepting page elements. Background technique [0002] By opening the page of the webpage, you can browse news, read novels, or watch movies, etc. A web page contains many parts, among which the most useful and concerned part for users is the body part, such as the body of news, the body of novels, the playback area of ​​movies and videos, etc. [0003] However, after the page is opened, it is often seen that there are various other page elements on the page besides the content that the user cares about, such as: advertising pictures with prominent colors and flash accompanied by harsh sounds. These page elements that have nothing to do with the content that users care about make it easier for users to be distracted when browsing the page and have an impact on users. [0004] Since there are many page elements on the current web pages that are no...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
CPCG06F16/951G06F16/9577G06F16/9535
Inventor 贺燕
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products