<
From version < 14.1 >
edited by Richard Johnson
on 2020/07/13 17:34
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,10 +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 3  * (((
4 -== [[Kelly's Recipes>>doc:kellysrecipes:Main.WebHome]] ==
18 +== [[Kelly's Recipes>>url:http://155.138.207.236:8080/xwiki/wiki/kellysrecipes/view/Main/]] ==
5 5  )))
6 6  * (((
7 -== [[Richard's notes>>doc:iotstuff:Main.WebHome]] ==
21 +== [[Richard's notes>>url:http://155.138.207.236:8080/xwiki/wiki/iotstuff/view/Main/]] ==
8 8  )))
9 9  
10 -= If you are trying to access the CORTHA wiki pages, click [[here>>http://cortha.org]] =
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;
Icon XWiki.XWikiRights[0]
allow
... ... @@ -1,1 +1,0 @@
1 -1
groups
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiAllGroup
levels
... ... @@ -1,1 +1,0 @@
1 -view
Icon XWiki.XWikiRights[1]
allow
... ... @@ -1,1 +1,0 @@
1 -1
levels
... ... @@ -1,1 +1,0 @@
1 -view
users
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest