Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sibling not working for comma separated domains #203

Open
lyaaz opened this issue Feb 25, 2024 · 0 comments
Open

Sibling not working for comma separated domains #203

lyaaz opened this issue Feb 25, 2024 · 0 comments

Comments

@lyaaz
Copy link

lyaaz commented Feb 25, 2024

In case of config:

custom mode:

{
    "a1.com": "test1",
    "b1.com,c1.com": "test2"
}

and sibling:

[
  ["a1.com", "a2.com"],
  ["b1.com", "b2.com"],
  ["c1.com", "c2.com"]
]

Then the extension only spoof ua for [a1, a2, b1, c1], but not working for [b2, c2].

const i = prefs.siblings[key];

@lyaaz lyaaz changed the title Sibling not working for comma sperated domains Sibling not working for comma separated domains Feb 25, 2024
lyaaz added a commit to lyaaz/UserAgent-Switcher that referenced this issue Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant