OLD | NEW |
1 <div id="pageData-title" class="pageData">Cross-Origin XMLHttpRequest</div> | 1 <div id="pageData-name" class="pageData">Cross-Origin XMLHttpRequest</div> |
2 | 2 |
3 <!-- BEGIN AUTHORED CONTENT --> | 3 <!-- BEGIN AUTHORED CONTENT --> |
4 <p id="classSummary"> | 4 <p id="classSummary"> |
5 Regular web pages can use the | 5 Regular web pages can use the |
6 <a href="http://www.w3.org/TR/XMLHttpRequest/">XMLHttpRequest</a> | 6 <a href="http://www.w3.org/TR/XMLHttpRequest/">XMLHttpRequest</a> |
7 object to send and receive data from remote servers, | 7 object to send and receive data from remote servers, |
8 but they're limited by the | 8 but they're limited by the |
9 <a href="http://en.wikipedia.org/wiki/Same_origin_policy">same origin policy</a>
. | 9 <a href="http://en.wikipedia.org/wiki/Same_origin_policy">same origin policy</a>
. |
10 Extensions aren't so limited. | 10 Extensions aren't so limited. |
11 An extension can talk to remote servers outside of its origin, | 11 An extension can talk to remote servers outside of its origin, |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 </pre> | 139 </pre> |
140 <p> | 140 <p> |
141 Additionally, be especially careful of resource retrieved via HTTP. If your | 141 Additionally, be especially careful of resource retrieved via HTTP. If your |
142 extension is used on a hostile network, an network attacker (aka a <a | 142 extension is used on a hostile network, an network attacker (aka a <a |
143 href="http://en.wikipedia.org/wiki/Man-in-the-middle_attack">"man-in-the-middle"
</a>) | 143 href="http://en.wikipedia.org/wiki/Man-in-the-middle_attack">"man-in-the-middle"
</a>) |
144 could modify the response and, potentially, attack your extension. Instead, | 144 could modify the response and, potentially, attack your extension. Instead, |
145 prefer HTTPS whenever possible. | 145 prefer HTTPS whenever possible. |
146 </p> | 146 </p> |
147 | 147 |
148 <!-- END AUTHORED CONTENT --> | 148 <!-- END AUTHORED CONTENT --> |
OLD | NEW |