Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 title = Anonymous Frame document.write() - Circumvention | 1 title = Anonymous Frame document.write() - Circumvention |
kzar
2018/06/04 17:17:29
Nit: Please can you delete the trailing space?
rossg
2018/06/07 10:30:24
Done.
| |
2 template = testcase | 2 template = testcase |
3 | 3 |
4 <script> | 4 <script> |
5 setTimeout(function() | 5 setTimeout(function() |
6 { | 6 { |
7 var iframe = document.getElementById("append"); | 7 var iframe = document.getElementById("append"); |
8 var span = document.createElement("span"); | 8 var span = document.createElement("span"); |
9 span.className = "testcase-circ-anoniframe-docwrite"; | 9 span.className = "testcase-circ-anoniframe-docwrite"; |
10 span.textContent = "This text should be hidden"; | 10 span.textContent = "This text should be hidden"; |
11 iframe.contentDocument.body.appendChild(span); | 11 iframe.contentDocument.body.appendChild(span); |
(...skipping 16 matching lines...) Expand all Loading... | |
28 Subframe (Element.appendChild): [<iframe id="append"></iframe>] | 28 Subframe (Element.appendChild): [<iframe id="append"></iframe>] |
29 </p> | 29 </p> |
30 | 30 |
31 <p> | 31 <p> |
32 Subframe (document.write): [<iframe id="write"></iframe>] | 32 Subframe (document.write): [<iframe id="write"></iframe>] |
33 </p> | 33 </p> |
34 </div> | 34 </div> |
35 <h3>Related links</h3> | 35 <h3>Related links</h3> |
36 <p><a href="https://issues.adblockplus.org/ticket/3185">Issue #3185</a></p> | 36 <p><a href="https://issues.adblockplus.org/ticket/3185">Issue #3185</a></p> |
37 </section> | 37 </section> |
LEFT | RIGHT |