0001-franceconnect-add-reverse-tabnabbing-protection-4321.patch
src/authentic2_auth_fc/static/authentic2_auth_fc/js/fc.js | ||
---|---|---|
12 | 12 | |
13 | 13 |
var left = ((width / 2) - (w / 2)) + dualScreenLeft; |
14 | 14 |
var top = ((height / 2) - (h / 2)) + dualScreenTop; |
15 |
var newWindow = window.open(url, title, 'location=0,status=0,menubar=0,toolbar=0,scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left); |
|
15 |
var newWindow = window.open(url, title, 'noopener,noreferrer,location=0,status=0,menubar=0,toolbar=0,scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left); |
|
16 |
newWindow.opener = null; |
|
16 | 17 | |
17 | 18 |
// Puts focus on the newWindow |
18 | 19 |
if (window.focus) { |
19 |
- |