Skip to content

Default + My custom config (subdirectories, sources) #192

@botaniQQQ

Description

@botaniQQQ

Hello.

I need add to sources 2 line:

        { selector: 'link[rel="image_src"]', attr: 'href' },
        { selector: 'meta[property="og:image"]', attr: 'content' }

but I do not want these lines to replace the default values. I need them to complement them.

And create many lines

        { selector: 'style' },
        { selector: '[style]', attr: 'style' },
        { selector: 'img', attr: 'src' },
        { selector: 'img', attr: 'srcset' },
        { selector: 'input', attr: 'src' },
        { selector: 'object', attr: 'data' },
        { selector: 'embed', attr: 'src' },
        { selector: 'param[name="movie"]', attr: 'value' },
        { selector: 'script', attr: 'src' },
        { selector: 'link[rel="stylesheet"]', attr: 'href' },
        { selector: 'link[rel*="icon"]', attr: 'href' },
        { selector: 'svg *[xlink\\:href]', attr: 'xlink:href' },
        { selector: 'svg *[href]', attr: 'href' },
        { selector: 'picture source', attr: 'srcset' },
        { selector: 'link[rel="image_src"]', attr: 'href' },
        { selector: 'meta[property="og:image"]', attr: 'content' }

Although, and so normal.

Can it be possible to implement join default + custom sources?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions