<
From version < 5.1 >
edited by Richard Johnson
on 2018/08/04 00:48
To version < 16.1 >
edited by Richard Johnson
on 2020/08/21 14:09
>
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -1,6 +1,24 @@
1 +{{box cssClass="floatinginfobox"}}
2 +{{velocity}}
3 +{{html clean="false"}}
4 +## Chrome's XSS Auditor blocks the preview action if:
5 +## * the submitted content has an iframe with an external URL
6 +## * the preview action displays the submitted iframe
7 +## The workaround is to make sure the submitted content (the macro markers) don't match the preview HTML.
8 +## See XWIKI-14818: Preview triggers ERR_BLOCKED_BY_XSS_AUDITOR in Chrome
9 +#set ($iframe = 'iframe')
10 +<$iframe src="https://www.youtube.com/embed/9QTWrZ7OfzI" title="YouTube video of XWiki" role="presentation" allowfullscreen></$iframe>
11 +{{/html}}
12 +{{/velocity}}
13 +{{/box}}
14 +
1 1  Wikis here:
2 2  
3 -* [[Kelly's Recipes>>doc:kellysrecipes:Main.WebHome]]
4 -* [[Richard's IoT notes>>doc:iotstuff:Main.WebHome]]
17 +* (((
18 +== [[Kelly's Recipes>>url:http://155.138.207.236:8080/xwiki/wiki/kellysrecipes/view/Main/]] ==
19 +)))
20 +* (((
21 +== [[Richard's notes>>url:http://155.138.207.236:8080/xwiki/wiki/iotstuff/view/Main/]] ==
22 +)))
5 5  
6 -[[Original xwiki home page>>Original wiki home page]]
24 += If you are trying to access the CORTHA wiki pages, click [[here>>url:http://cortha.org/]] =
Icon XWiki.StyleSheetExtension[0]
code
... ... @@ -1,17 +15,3 @@
1 -#xwikicontent table {
2 - margin: 0
3 -}
4 -
5 -#xwikicontent table td {
6 - border: 0;
7 - padding: 0;
8 - width: 50%;
9 -}
10 -
11 -#xwikicontent table td:first-of-type {
12 - padding-right: 25px;
13 -}
14 -
15 15  .floatinginfobox iframe {
16 16   border: 0;
17 17   height: 169px;