Pārlūkot izejas kodu

Merge pull request #12091 from gero3/patch-4

External links without noopener/noreferrer are a potential security risk.
Mr.doob 8 gadi atpakaļ
vecāks
revīzija
aadcb2520f

+ 2 - 2
examples/misc_sound_visualizer.html

@@ -70,8 +70,8 @@
 
 	<div id="container"></div>
 	<div id="info">
-		<a href="https://threejs.org" target="_blank">three.js</a> - misc - sound visualizer -
-		music by <a href="http://www.newgrounds.com/audio/listen/358232" target="_blank">larrylarrybb</a>
+		<a href="https://threejs.org" target="_blank" rel="noopener noreferrer">three.js</a> - misc - sound visualizer -
+		music by <a href="http://www.newgrounds.com/audio/listen/358232" target="_blank" rel="noopener noreferrer">larrylarrybb</a>
 	</div>
 
 	<script>

+ 1 - 1
examples/webgl_loader_prwm.html

@@ -69,7 +69,7 @@
 			download the most appropriate file.<br><br>
 			This platform endianness is <strong id="endianness"></strong>.<br><br>
 			See your console for stats.<br><br>
-			<a href="https://github.com/kchapelier/PRWM" target="_blank">Specifications and implementations</a>
+			<a href="https://github.com/kchapelier/PRWM" target="_blank" rel="noopener noreferrer">Specifications and implementations</a>
 		</div>
 
 		<script src="../build/three.js"></script>

+ 1 - 1
examples/webgl_postprocessing_sao.html

@@ -50,7 +50,7 @@
 		<script src='js/libs/dat.gui.min.js'></script>
 
 		<div id="info">
-			<a href="http://threejs.org" target="_blank">three.js</a> - Scalable Ambient Occlusion (SAO) shader by <a href="http://clara.io">Ben Houston</a> / Post-processing pass by <a href="http://ludobaka.github.io">Ludobaka</a>
+			<a href="http://threejs.org" target="_blank" rel="noopener noreferrer">three.js</a> - Scalable Ambient Occlusion (SAO) shader by <a href="http://clara.io">Ben Houston</a> / Post-processing pass by <a href="http://ludobaka.github.io">Ludobaka</a>
 		</div>
 
 		<script>

+ 1 - 1
examples/webgl_postprocessing_sobel.html

@@ -45,7 +45,7 @@
 		<script src="js/postprocessing/ShaderPass.js"></script>
 
 		<div id="info">
-			<a href="https://threejs.org" target="_blank">three.js</a> - webgl - postprocessing - sobel (edge detection)
+			<a href="https://threejs.org" target="_blank" rel="noopener noreferrer">three.js</a> - webgl - postprocessing - sobel (edge detection)
 		</div>
 
 		<script>