Skip to content

Commit

Permalink
FIX FOR 'allow-scripts' IN CHROME
Browse files Browse the repository at this point in the history
FIX FOR THIS ISSUE

cburgmer#117
  • Loading branch information
inuyashamx authored Feb 22, 2017
1 parent 7d0f426 commit f6074d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ var browser = (function (util, proxies, sanedomparsererror, theWindow) {
iframe.style.top = (-10000 - height) + "px";
iframe.style.left = (-10000 - width) + "px";
// Don't execute JS, all we need from sandboxing is access to the iframe's document
iframe.sandbox = 'allow-same-origin';
iframe.sandbox = 'allow-same-origin allow-scripts allow-popups allow-forms';
// Don't include a scrollbar on Linux
iframe.scrolling = 'no';
return iframe;
Expand Down

0 comments on commit f6074d3

Please sign in to comment.