Skip to content

Commit

Permalink
Use var like other places
Browse files Browse the repository at this point in the history
  • Loading branch information
NDevTK authored Apr 23, 2024
1 parent 707e157 commit 74307cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/attacks/navigations.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ var url = 'https://example.org';
var iframe = document.createElement('iframe');
iframe.sandbox = 'allow-scripts allow-same-origin allow-popups';
document.body.appendChild(iframe);
openSandboxed = iframe.contentWindow.open;
var openSandboxed = iframe.contentWindow.open;

// Get a window reference
var win = window.openSandboxed(url);
Expand Down

0 comments on commit 74307cf

Please sign in to comment.