Page nesting path determination method and device

A path determination and page technology, which is applied in the fields of instrumentation, calculation, electrical digital data processing, etc., can solve the problems of accessing window objects, unable to determine the nested path, and unable to access iframe objects on the parent page, so as to achieve the effect of parameter transmission.

Active Publication Date: 2015-06-17
ALIBABA GRP HLDG LTD
View PDF3 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the limitation of the browser security mechanism, if the domains of the child page and the parent page are different, the child page cannot access the window object of the parent page through window.parent, and the parent page cannot access the objects in the iframe
That is to say, for the aforementioned situation where cross-domain references exist, the prior art cannot determine nested paths

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Page nesting path determination method and device
  • Page nesting path determination method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.

[0026] In the embodiment of this application, in order to solve the problems in the prior art, a unified parameter transfer scheme based on the client-side JS code can be provided. By uniformly modifying the src address referenced by the iframe, parent-child pages and parent-child multi-layer embedding can be solved. The problem of cross-domain parameter transfer between sets of pages, and then based on the passed parameters, can solve the problem of determining the path of iframe mult...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a page nesting path determination method and device. When a parent page refers to a subpage, a preset attribute name is adopted to replace src in an iframe label so as to lead out a uniform resource locator (URL) of the subpage. The page nesting path determination method comprises the steps of determining a first page to be loaded, judging whether the iframe label including the preset attribute name exists or not, replacing the preset attribute name in a source code with the src and adding parameter information in the uniform resource locator of a second page led out by the src if the iframe label including the preset attribute name exists, wherein the parameter information is used for identifying information of the parent page on a nesting path where the second page is located, so that the URL of the second page recorded in a access log of a browser includes the parameter information when a link on the first page is clicked to jump to the second page. By means of the page nesting path determination method and device, parameter transfer can be achieved regardless of intra-domain page reference or cross-domain page reference.

Description

technical field [0001] The present application relates to the technical field of page nesting, in particular to a method and device for determining a page nesting path. Background technique [0002] Iframe is an HTML (Hyper Text Mark-up Language) tag, which acts as a document in a document, or a floating frame (FRAME), also known as an embedded frame. An embedded frame is similar to a framed web page, it can embed the frame and content of a web page in another web page. In actual use, the code is very simple, you only need to specify an iframe reference in a page, and point the src attribute of the iframe tag to another file or page that needs to be included, such as: [0003] <iframe name="content_frame"marginwidth=0marginheight=0width=100%height=30src="http: / / www.xx.import.htm"frameborder=0> [0004] Among them, src=http: / / www.xx.import.htm is used to specify the URL (Uniform Resource Locator, Uniform Resource Locator) of another page that needs to be referenced in...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 赵文波吴英杰
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products