![]()
No description.
|
code » | ||||||
Creates the HTML of an input element
|
code » | ||||||
![]()
Creates a response info iframe to indicate completion of sendResponse
|
code » | ||||||
![]()
Escapes ampersand so that XML/HTML entities are submitted as is because
browser unescapes them when they are put into a text area.
Arguments:
Returns: *
Value with ampersand escaped, if value is a string;
otherwise the value itself is returned.
|
code » | ||||||
Finds a dummy resource that can be used by response to gain domain of
requester's page.
Returns: string
URI of the resource to use.
|
code » | ||||||
Returns the payload of a frame (value after # or ? on the URL). This value
is URL encoded except IE, where the value is not encoded to begin with.
|
code » | ||||||
Returns payload delimiter, either "#" when caller's page is not used as
the dummy resource or "?" when it is, in which case caching issues prevent
response frames to gain the caller's domain.
|
code » | ||||||
![]()
Checks to see if we are executing inside a response iframe. This is the
case when this page is used as a dummy resource to gain caller's domain.
Returns: *
True if we are executing inside a response iframe; false
otherwise.
|
code » | ||||||
Checks whether a frame is response info frame.
|
code » | ||||||
Removes everything at and after hash from URI
|
code » | ||||||
Removes all parameters (after ? or #) from URI.
|
code » | ||||||
![]()
Sends a request across domain.
Arguments:
|
code » | ||||||
![]()
Makes response available for grandparent (requester)'s receiveResponse
call to pick up by creating a series of iframes pointed to the dummy URI
with a payload (value after either ? or #) carrying a chunk of response
data and a response info iframe that tells the grandparent (requester) the
readiness of response.
Arguments:
|
code » | ||||||
![]()
Sets debug mode to true or false. When debug mode is on, response iframes
are visible and left behind after their use is finished.
Arguments:
|
code » | ||||||
![]()
Sets the URI for a dummy resource on caller's domain. This function is
used for specifying a particular resource to use rather than relying on
auto detection.
Arguments:
|
code » | ||||||
![]()
Sets whether a fallback dummy resource ("/robots.txt" on Firefox and Safari
and current page on IE) should be used when a suitable dummy resource is
not available.
Arguments:
|
code » |