Baseline Widely available
pathname
㯠URL
ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ããããã£ã§ãé層æ§é å
ã®ããä½ç½®ã表ãã¾ããããã¯ãã¹ã»ã°ã¡ã³ãã®ãªã¹ãã§æ§æãããæååã§ãããããã®å
é ã« /
æåãä»ãã¾ããURL ã«ãã¹ã»ã°ã¡ã³ãããªãå ´åã pathname
ããããã£ã®å¤ã¯ç©ºæååã«ãªãã¾ãã
https
ã http
ãªã©ã® URL ã§ãé層ã¹ãã¼ã ï¼URL æ¨æºã§ã¯ "special schemes" ã¨å¼ãã§ãã¾ãï¼ãæã¤ URL ã¯ã常ã«å°ãªãã¨ã 1 ã¤ã®ï¼ä¸å¯è¦ã®ï¼ãã¹ã»ã°ã¡ã³ããã¤ã¾ã空æååãæã¡ã¾ãããã®ããããã®ãã㪠"special scheme" ãæã¤ URL ã® pathname
ã®å¤ã¯æ±ºãã¦ç©ºæååã«ã¯ãªãã¾ããã
ä¾ãã°ãURL https://developer.mozilla.org
ã®ãã¹ã»ã°ã¡ã³ãã¯ç©ºæååã® 1 ã¤ã ããªã®ã§ã pathname
ã®å¤ã¯ç©ºæååã®åã« /
æåãä»å ãã¦æ§æããã¾ãã
ã·ã¹ãã ã«ãã£ã¦ã¯ãã¹ã©ãã°ã¨ããç¨èªã¯ã人éãèªãããã¼ã¯ã¼ãã§ãã¼ã¸ãç¹å®ããå ´åã空ã§ãªããã¹ã®æå¾ã®ã»ã°ã¡ã³ããæå³ããã¨å®ç¾©ãã¦ãã¾ããä¾ãã°ãhttps://example.org/articles/this-that-other-outre-collection
ã¨ãã URL ã®ã¹ã©ãã°ã¯ this-that-other-outre-collection
ã§ãã
ã·ã¹ãã ã«ãã£ã¦ã¯ ;
㨠=
ã®æåã使ã£ã¦ããã¹ã»ã°ã¡ã³ãã«é©ç¨ã§ãã弿°ã¨å¼æ°ã®å¤ãåºåãã¾ããä¾ãã°ãhttps://example.org/users;id=42/tasks;state=open?sort=modified
ã¨ãã URL ã®å ´åãã·ã¹ãã 㯠users;id=42
㨠tasks;state=open
ã¨ãããã¹ã»ã°ã¡ã³ããã id=42
㨠state=open
ã¨ãããã¹ã»ã°ã¡ã³ã弿°ãæ½åºãã¦ä½¿ç¨ããããããã¾ããã
ã¡ã¢: ãã®æ©è½ã¯ã¦ã§ãã¯ã¼ã«ã¼å ã§å©ç¨å¯è½ã§ãã
夿ååã§ãã
ä¾const url = new URL(
"https://developer.mozilla.org/ja/docs/Web/API/URL/pathname?q=value",
);
console.log(url.pathname); // "/ja/docs/Web/API/URL/pathname" ã¨ãã°åºå
仿§æ¸ ãã©ã¦ã¶ã¼ã®äºææ§ é¢é£æ
å ±
URL
ã¤ã³ã¿ã¼ãã§ã¤ã¹RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4