Web Page Action Triggering via DOM Attribute Mediation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Publishers face delays and complexities in displaying new features or updating existing ones on websites or applications due to the need for modifying, testing, and releasing code, especially with long release cycles or third-party developers, and often require granular control over feature display that is not easily achievable without manual code additions.

Innovation Solution

A method that allows publishers to select and associate actions with existing elements on a web page using a user interface dashboard, leveraging existing code to trigger actions without manual code insertion, enabling real-time enablement, disabling, and configuration of website features with granular control over their display.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If publishers manually add code to web page templates to implement new features, then feature functionality is achieved, but development time and release delays increase

Engineering Contradiction:
ImproveFeature implementation easeVSAvoidRelease cycle time
Core Design Contradiction:
Ease of manufactureVSLoss of time

Solution Approach 1:

The patent introduces a JavaScript mediator that acts as an intermediary between the web page template and the feature implementation. The mediator scans the DOM for specific data attributes (e.g., data-feature-id) and dynamically loads corresponding feature modules without requiring manual code insertion into templates. This resolves the contradiction by maintaining ease of feature addition through simple attribute tagging while eliminating the time-consuming manual code modification and testing process.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system performs preliminary action by pre-defining feature modules and their corresponding trigger conditions in advance. Publishers can configure features to be automatically activated when specific DOM elements are detected, eliminating the need for real-time code modification and testing during the release process. This allows features to be implemented instantly without the traditional development-deployment cycle.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If publishers use robust web page template structures with per-page feature implementation, then granular control over feature display is achieved, but code modification requirements increase

Engineering Contradiction:
ImproveFeature display control granularityVSAvoidTemplate code complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent extracts the feature activation logic from the template code itself and places it in separate, dynamically loaded feature modules. The template only needs to contain simple data attributes (e.g., data-feature-id, data-condition) to indicate where and when features should appear. The complex logic of feature detection, condition evaluation, and module loading is extracted into the JavaScript mediator, resolving the contradiction by maintaining granular control through simple attributes while eliminating template code complexity.

Inventive Principle:
Principle #2Taking out (Extraction)

3Adaptability or versatility

If publishers want to display different features to different visitors or on different pages, then customized feature delivery is achieved, but manual code configuration requirements increase

Engineering Contradiction:
ImproveFeature delivery customizationVSAvoidFeature configuration ease
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The system implements self-service by enabling the JavaScript mediator to automatically scan the DOM, detect feature trigger conditions based on data attributes, and dynamically load appropriate feature modules without manual configuration. Publishers can simply tag elements with data attributes (e.g., data-feature-id='newsletter') and the system automatically handles the rest, including conditional logic and module instantiation. This resolves the contradiction by achieving customized feature delivery through simple self-describing tags while eliminating complex manual code configuration.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS9524073B1Triggering action on a web page
Publication Date: 2016.12.20 GOOGLE LLC
  • US9524073B1 patent drawing
  • US9524073B1 patent drawing
  • US9524073B1 patent drawing

AI summary

A method and computer system for receiving a selection of a first element of one or more elements on a web page via a user interface. A selection of an action to associate with the first element is received via the user interface. The action is associated with the first element on the web page based upon, at least in part, receiving the selection of the action.