Home>

Excuse me for the question.

I want to make an extension, https://toranoana-lab.hatenablog.com/entry/2020/04/23/174421
I tried the page.
I want to move safely and try various things so that I can move on another page
pageUrl: {hostEquals:'developer.chrome.com'},
To
pageUrl: {hostEquals:'developer.chrome.com/home'},
When I tried to limit the effect range, it stopped working.

As a result of trying various things, it seems that the page is not recognized by the inclusion of "/".

I looked it up, but I didn't understand it at all, so I'd like to ask you a question.

How does it work with "/" and why?
If anyone can understand it, please let me know. Thank you.

  • Answer # 1

    pageUrl: {hostEquals:'developer.chrome.com/home'},
    When I tried to limit the effect range, it stopped working.

    It's speculative because I haven't seen the internal implementation, but as the name implieshostnameBecause we are comparing/ homeIf you include the path part like this, it will not be recognized.

Related articles