TAILIEUCHUNG - Javascript bible_ Chapter 15

Tham khảo sách 'javascript bible_ chapter 15', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Location and History Objects Not all objects in the document object model are things you can see in the content area of the browser window. The browser maintains a bunch of other information about the page you are currently visiting and where you have been. The URL of the page you see in the browser is called the location and browsers store this information in the location object. And as you surf the Web the browser stores the URLs of your past pages in an object called the history object. You can manually view what that object contains by looking in the browser menu that lets you jump back to a previously visited page. This chapter is all about these two nearly invisible but important objects. Not only are these objects valuable to your browser but they can also be valuable to snoopers who might want to write scripts to see what URLs you re viewing in another frame or the URLs of other sites you ve visited in the last dozen mouse clicks. As a result there exist security restrictions that limit access to some of these objects properties unless you use signed scripts in Navigator 4. For older browsers these properties are simply not available from a script. Location Object In This Chapter Loading new pages and other media types via the location object Security restrictions across frames Navigating through the browser history under script control Properties Methods Event Handlers hash assign None host reload hostname replace href pathname port protocol search 270 Part III JavaScript Object and Language Reference Syntax Loading a new document into the current window window. location URL Accessing location properties or methods window. method parameters About this object In its place one level below window-style objects in the JavaScript object hierarchy the location object represents information about the URL of any currently open window or of a specific frame. A multiple-frame window displays the parent window s URL in the Location field. Each frame

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.