Interaction method and device overcoming browser same-origin policy limit

A technology of same-origin policy and interaction method, applied in the field of interaction method and device to overcome the limitation of browser same-origin policy, can solve the problem that web pages cannot perform data transmission and DOM control, etc.

Inactive Publication Date: 2015-12-23
SUNINFO INFORMATION TECH
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] One purpose of this application is to provide an interactive method and device that overcomes the restrictions of the same-origin policy of browsers, and can solve the problem that data transfer and DOM control cannot be performed between web pages under different domains due to the restrictions of the same-origin policy of browsers

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
  • Interaction method and device overcoming browser same-origin policy limit
  • Interaction method and device overcoming browser same-origin policy limit
  • Interaction method and device overcoming browser same-origin policy limit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0085] The application will be described in further detail below in conjunction with the accompanying drawings.

[0086] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory.

[0087] Memory may include non-permanent storage in computer-readable media, in the form of random access memory (RAM) and / or nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM). Memory is an example of computer readable media.

[0088] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), sta...

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 provides an interaction method and device overcoming browser same-origin policy limit. According to the interaction method, location.hash of a uniform resource locator is used for carrying data to be transmitted to transmit the data between parent pages and subpages of different domains, or the location.hash of the uniform resource locator is used as identification for triggering parent page or subpage DOM operation, script call between the parent pages and the subpages of the different domains is completed, interaction is performed by bypassing the browser same-origin policy limit in a web front end mode, data interaction and DOM control between websites under different domains are achieved, and particularly DOM operation and control between the parent pages and the subpages of the different domains can be achieved.

Description

technical field [0001] The present application relates to the field of computers, and in particular to an interaction method and device for overcoming the limitation of the same-origin policy of browsers. Background technique [0002] The same-origin policy is part of the browser's protection mechanism that separates web applications from different domains (assuming the domain represents the originator). That is, if some applications in multiple windows or frames are downloaded from different domains, they cannot access data and scripts from each other. Specifically, the same ip, the same network protocol, and the same port, all three of which are satisfied are the same domain, otherwise it is a problem between websites in different domains. Due to the restrictions of the same-origin policy of browsers, under normal circumstances, it is not possible to directly obtain or manipulate document properties on another domain through scripts loaded on one domain. [0003] To perf...

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
CPCG06F16/9566
Inventor 贾春乐丁亚飞赵帅
Owner SUNINFO INFORMATION TECH
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