icholy / icholy/ContainerScript

Match any part of the URL

Open
#8 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
71
Forks
6
Avg merge
13d 10h
Merged PRs (30d)
1

Description

How could I match any part of the URL?

E.g. if (url.href.includes("abc")) return "ABC"; doesn't catch https://somehost.com/xyabcdef.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named in the issue. Trace the URL matching logic for the shown url.href.includes("abc") case, then verify that a URL such as https://somehost.com/xyabcdef matches and produces "ABC".

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.