Browser Data Filtering via API HOOK Function

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current browser-based solutions for filtering web page data, such as advertisements, require different plug-ins for various browsers, leading to increased development workload and maintenance due to browser-specific characteristics.

Innovation Solution

A method and apparatus that utilize a HOOK function within an Application Programming Interface (API) to filter data requests, allowing compatibility with all browsers without the need for specific plug-ins, by receiving data requests, invoking the API, and filtering data using the HOOK function.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If browser-specific plug-ins are used to filter web page data, then filtering functionality is achieved, but development workload and maintenance complexity increase due to the need to develop separate plug-ins for each browser

Engineering Contradiction:
Improvefiltering functionalityVSAvoiddevelopment workload
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies universality by developing a single filtering plug-in that can operate across multiple browser types (Chrome, Firefox, Safari, etc.) through the use of a common JavaScript interface. Instead of creating separate plug-ins for each browser, the invention uses universal JavaScript code that leverages the HOOK mechanism to intercept and filter data requests in any browser that supports JavaScript, thereby reducing development workload while maintaining filtering functionality.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent uses the HOOK function as an intermediary mechanism between the filtering plug-in and the browser's data request process. The HOOK function acts as a mediator that intercepts data requests at a fundamental level, allowing the plug-in to filter advertisements and other unwanted content without needing to integrate deeply with each browser's specific architecture. This intermediary approach enables cross-browser compatibility with a single plug-in implementation.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If browser-specific plug-ins are developed for each browser type, then compatibility with each browser is ensured, but the number of plug-ins and maintenance requirements increase

Engineering Contradiction:
Improvebrowser compatibilityVSAvoidmaintenance effort
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The invention achieves broad browser compatibility through a single universal plug-in implementation that works across Chrome, Firefox, Safari, and other JavaScript-enabled browsers. By using standard JavaScript and the HOOK mechanism rather than browser-specific APIs, the plug-in maintains adaptability to multiple browsers without requiring separate versions, thereby reducing maintenance effort.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent merges the functionality of multiple browser-specific plug-ins into a single universal plug-in. Instead of maintaining separate plug-ins for Chrome, Firefox, Safari, and other browsers, the invention combines all filtering functionality into one plug-in that uses the HOOK mechanism to achieve cross-browser compatibility, thereby simplifying deployment and maintenance.

Inventive Principle:
Principle #5Merging (Combining)

3Object-generated harmful factors

If traditional plug-in methods are used for filtering, then advertisement filtering is achieved, but the solution requires post-maintenance and updates for each browser version

Engineering Contradiction:
Improveadvertisement filteringVSAvoidmaintenance time
Core Design Contradiction:
Object-generated harmful factorsVSLoss of time

Solution Approach 1:

The HOOK function serves as an intermediary that intercepts data requests at a fundamental level in the browser's data flow. This intermediary approach allows the filtering plug-in to operate independently of browser-specific implementation details and version changes. Since the HOOK mechanism operates at a stable, fundamental level of the browser architecture, the plug-in requires minimal updates when browser versions change, reducing maintenance time while maintaining effective advertisement filtering.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS9582584B2Method, apparatus and system for filtering data of web page
Publication Date: 2017.02.28 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US9582584B2 patent drawing
  • US9582584B2 patent drawing
  • US9582584B2 patent drawing

AI summary

A method, an apparatus and a system for filtering data of a web page are described. According to embodiments of the invention, a data request message sent through a browser is received, a corresponding Application Programming Interface is invoked based on the data request message. The Application Programming Interface includes a HOOK function, and the data request message is filtered by using the HOOK function in the Application Programming Interface. Since almost all kinds of browsers may utilize Application Programming Interface(s) for requesting data, the solution has good compatibility, no specific plug-ins need to be developed for various browsers, no post-maintenance is required, the workload of development is small and the implementation is flexible.