From 58355cb84672ca54479ae2b6632ecf2177b787c9 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Tue, 29 Nov 2016 13:55:08 +0300 Subject: [PATCH] Sandboxing game iframe --- app/js/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/services.js b/app/js/services.js index 3fa94a59..9008cf77 100755 --- a/app/js/services.js +++ b/app/js/services.js @@ -1823,7 +1823,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) var embedType = 'text/html' - var embedHtml = '<' + embedTag + ' src="' + encodeEntities(embedUrl) + '" type="' + encodeEntities(embedType) + '" frameborder="0" border="0" webkitallowfullscreen mozallowfullscreen allowfullscreen width="' + full.width + '" height="' + full.height + '" style="width: ' + full.width + 'px; height: ' + full.height + 'px;">' + var embedHtml = '<' + embedTag + ' src="' + encodeEntities(embedUrl) + '" type="' + encodeEntities(embedType) + '" frameborder="0" border="0" webkitallowfullscreen mozallowfullscreen allowfullscreen width="' + full.width + '" height="' + full.height + '" style="width: ' + full.width + 'px; height: ' + full.height + 'px;" sandbox="allow-scripts allow-same-origin">' full.html = $sce.trustAs('html', embedHtml)