Skip to content

Extract subdomains #8

@max-len

Description

@max-len

Would it be possible to show subdomains, i.e. extract them from the hostname or just extract arbitrary regex from the variables?

The tab title format could look like {subdomain[x]} which could then be parsed and used with document.location.hostname.match(/[^\.]+/g).reverse()[x], where {subdomain[0]} would represent the TLD.

Alternatively a tab title format could look like {hostname:<regex>} which would return the matches / matching groups.

Using multiple tags is already possible.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions