Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.
This repository was archived by the owner on Jul 22, 2021. It is now read-only.

Implement a filter for transforming background images #818

Description

@jfroelich

Several articles use a strange technique to display a foreground image. Perhaps it is to prevent simple copying of the image (basically to disable right click) or it has something to do with responsive design or progressive loading of assets. Basically, the image is specified as a background image using CSS for an element, and then the element or a child of it is sized so as to occupy the desired space.

For a specific/narrow set of the cases where this happens, I can rewrite the dom by removing the background image from the css, and adding a new child image element.

This will help out in several other cases. For example, telemetry and boilerplate analysis.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    content filteringfunctionality related to content filtering

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions