Baseline Widely available
Document.location
ã¯èªã¿åãå°ç¨ã®ããããã£ã§ããã®ææ¸ã® URL ã«é¢ããæ
å ±ãæã£ã Location
ãªãã¸ã§ã¯ããè¿ãã¾ããããã¯ãã® URL ã夿´ãããä»ã® URL ãèªã¿è¾¼ãã ãããããã®ã¡ã½ãããæä¾ãã¦ãã¾ãã
Document.location
ã¯èªã¿åãå°ç¨ã® Location
ãªãã¸ã§ã¯ãã§ãããæååã代å
¥ãããã¨ãã§ãã¾ããã¤ã¾ãã document.location ãæååã§ãããã®ããã«æ±ããã¨ãã§ãã¾ãã document.location = 'http://www.example.com'
㯠document.location.href = 'http://www.example.com'
ã®å¥åã§ããä»ã®æååã代å
¥ããã¨ããã©ã¦ã¶ã¼ã¯ä»£å
¥ãããã¦ã§ããµã¤ããèªã¿è¾¼ã¿ã¾ãã
URL ãæååã¨ãã¦åãåãã ãã§ããã°ãèªã¿åãå°ç¨ã® document.URL
ããããã£ãå©ç¨ãããã¨ãã§ãã¾ãã
ç¾å¨ã®ææ¸ãé²è¦§ã³ã³ããã¹ãå
ã«ãªãå ´åãè¿å¤ã¯ null
ã¨ãªãã¾ãã
Location
ãªãã¸ã§ã¯ãã§ãã
console.log(document.location);
// Location ãªãã¸ã§ã¯ããã³ã³ã½ã¼ã«ã¸è¡¨ç¤º
仿§æ¸ ãã©ã¦ã¶ã¼ã®äºææ§ é¢é£æ
å ±
Location
Window.location
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