From: Karl Dahlke <eklhad@comcast.net>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] XHR same-domain restriction
Date: Mon, 12 Mar 2018 02:33:18 -0400 [thread overview]
Message-ID: <20180212023318.eklhad@comcast.net> (raw)
In-Reply-To: <alpine.LRH.2.03.1803112157580.21857@carhart.net>
[-- Attachment #1: Type: text/plain, Size: 417 bytes --]
I doubt there are restrictions on xhr domains in other browsers. If there were such restrictions, one could get around them easily.
var d = document.createElement("div");
d.innerHTML = "<iframe src=anything-at-all.com></iframe>";
// this fetches the html, just like an xhr request would
d.firstChild.contentDocument.innerHTML;
And I know frames can be inter domain, I see those all the time.
Karl Dahlke
next prev parent reply other threads:[~2018-03-12 6:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-12 5:09 Kevin Carhart
2018-03-12 6:33 ` Karl Dahlke [this message]
2018-03-12 7:17 ` Dominique Martinet
2018-03-12 12:38 ` Karl Dahlke
2018-03-12 12:57 ` Dominique Martinet
2018-03-14 1:54 ` Kevin Carhart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180212023318.eklhad@comcast.net \
--to=eklhad@comcast.net \
--cc=Edbrowse-dev@lists.the-brannons.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).