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

Implement a filter for transforming background images #818

Open
jfroelich opened this issue Apr 21, 2019 · 0 comments
Open

Implement a filter for transforming background images #818

jfroelich opened this issue Apr 21, 2019 · 0 comments
Labels
content filtering functionality related to content filtering

Comments

@jfroelich
Copy link
Owner

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.

@jfroelich jfroelich added the content filtering functionality related to content filtering label Apr 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
content filtering functionality related to content filtering
Projects
None yet
Development

No branches or pull requests

1 participant