Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
8 results across 6 corpora for jsonp.
Encyclopedia 6
Internet censorship in China
popular privacy tools on the Internet: virtual private networks, or VPNs, and Tor. This is done with the aid of a particularly serious vulnerability, known as JSONP, that 15 web services in China never patched. As long as the users are logged into one of China's top web services such as Baidu, QQ, Taobao, Sina, Sohu, and Ctrip the hackers can identify them and access their personal information, even if they are usin
XMLHttpRequest
ted by foo.example.com for information from bar.example.com will normally fail. Various alternatives exist to circumvent this security feature, including using JSONP, Cross-Origin Resource Sharing (CORS) or alternatives with plugins such as Flash or Silverlight (both now deprecated). Cross-origin XMLHttpRequest is specified in W3C's XMLHttpRequest Level 2 specification. Internet Explorer did not implement CORS until
Literal (computer programming)
literals). Because of this, almost every valid JSON document (except for some subtleties with escaping) is also valid JavaScript code, a fact exploited in the JSONP technique. ==See also== Character literal Function literal Here document – a file literal or stream literal Hexadecimal floating-point literal Integer literal String literal
Comet (programming)
nt. This creates a potential security risk for both servers involved, though the risk to the data provider (in our case, the Comet server) can be avoided using JSONP. A long-polling Comet transport can be created by dynamically creating script elements, and setting their source to the location of the Comet server, which then sends back JavaScript (or JSONP) with some event as its payload. Each time the script request
JSONP
JSONP, or JSON-P (JSON with Padding), is a JavaScript technique for requesting data via the HTML element. It was proposed by Bob Ippolito in 2005. JSONP enables sharing of data bypassing same-origin policy, which disallows running JavaScript code to read media DOM elements or XMLHttpRequest data fetched from outside the page's originating site. The originating site is indicated by a combination of URI scheme, hostnam
Web2py
s request with a .html extension, in JSON if the page is requested with a .json extension, in XML if requested with .xml. It supports other protocols including jsonp, rss, ics, google maps, etc. and is extensible. Here is a more complex code example which defines a table, and exposes a grid to logged in users: db.define_table('thing',Field('name',notnull=True)) @auth.requires_login() def hello(): return dict(grid = S
Dictionary 1
jsonp
(programming language) initialism of JavaScript Object Notation with Padding, a technique for requesting data in JSON format by loading an HTML script element
Developer library 1
Window: name property
he original page if it was reloaded). `Window.name` has also been used in some frameworks for providing cross-domain messaging as a more secure alternative to JSONP. Modern web applications hosting sensitive data should, however, not rely on `window.name` for cross-domain messaging — that is not its intended purpose and there are safer/better ways of sharing information between windows. [`Window.postMessage()`](/doc