Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3 from the-hotels-network/feat/NO-ISSUE_client-if…
Browse files Browse the repository at this point in the history
…rame-sandbox

feat: create client iframe sandboxed
  • Loading branch information
carles-thn authored Aug 5, 2022
2 parents a528eb5 + d9bcebf commit d03e69f
Show file tree
Hide file tree
Showing 3 changed files with 18,144 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@

frame = window.document.createElement('iframe');
frame.id = this._frameId;
frame.sandbox = 'allow-scripts allow-same-origin';

// Style the iframe
for (key in CrossStorageClient.frameStyle) {
Expand Down
Loading

0 comments on commit d03e69f

Please sign in to comment.