{"id":42110,"date":"2021-08-21T01:37:24","date_gmt":"2021-08-21T01:37:24","guid":{"rendered":"https:\/\/www.oracletutoring.ca\/blog\/?p=42110"},"modified":"2021-08-21T01:37:26","modified_gmt":"2021-08-21T01:37:26","slug":"javascript-window-location","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/javascript-window-location\/","title":{"rendered":"JavaScript: window.location"},"content":{"rendered":"\n<h2>Self-tutoring about JavaScript: the tutor mentions the object window.location<\/h2>\n<p>\nJavaScript has the window.location object, which contains information about the current page open in the browser. For instance, window.location.origin will give the url of the current page.<\/p>\n<p>Source:<\/p>\n<p><a href=\"https:\/\/www.w3schools.com\/js\/js_window_location.asp\">w3schools.com<\/a><\/p>\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about JavaScript: the tutor mentions the object window.location JavaScript has the window.location object, which contains information about the current page open in the browser. For instance, window.location.origin will give the url of the current page. Source: w3schools.com<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1745],"tags":[],"class_list":["post-42110","post","type-post","status-publish","format-standard","hentry","category-javascript-computer-science"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/42110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=42110"}],"version-history":[{"count":3,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/42110\/revisions"}],"predecessor-version":[{"id":42113,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/42110\/revisions\/42113"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=42110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=42110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=42110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}