Changes for page Home
Last modified by Administrateur local on 2026/03/01 15:03
From version 27.8
edited by Administrateur local
on 2026/03/01 09:49
on 2026/03/01 09:49
Change comment:
There is no comment for this version
To version 27.1
edited by Administrateur local
on 2026/02/28 17:52
on 2026/02/28 17:52
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Caching policy
-
... ... @@ -1,1 +1,1 @@ 1 - forbid1 +long - Code
-
... ... @@ -4,10 +4,10 @@ 4 4 for(var i=0; i< nodes.length; i++) 5 5 { 6 6 var link = nodes[i]; 7 - varlinkClasses=link.className;8 - console.log('Hardis : ' + linkClasses);9 - console.log('Hardis:' +linkClasses.includes('internalLink'));10 - 7 + if (link.hasAttribute('target') == false) 8 + { 9 + link.setAttribute('target', '_blank'); 10 + } 11 11 } 12 12 var nodes = document.querySelectorAll('.wikiattachmentlink a'); 13 13 for(var i=0; i< nodes.length; i++)