Explorar o código

Attempt to stop superfish malware from loading

James Allen %!s(int64=11) %!d(string=hai) anos
pai
achega
888ebd5d7b
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      services/web/app/views/layout.jade

+ 4 - 0
services/web/app/views/layout.jade

@@ -3,6 +3,10 @@ html(itemscope, itemtype='http://schema.org/Product')
 	block vars
 
 	head
+		script(type="text/javscript").
+			// Stop superfish from loading
+			window.similarproducts = true
+
 		-if (typeof(gaExperiments) != "undefined")
 			|!{gaExperiments}