Open daKmoR opened 4 years ago
PREVENTED: Trying to fetch an external resource
fetch('https://www.google.com/').then(response => response.text().then(text => console.log(text)));
PREVENTED: Trying to fetch from api.github.com (e.g. do github api calls on behalf of the user)
fetch('https://api.github.com/').then(response => response.text().then(text => console.log(text)));
PREVENTED: get data from parent window
before you start you should set window.secret = 'pssst';
console.log('window.secret', window.secret);
console.log('parent.secret', parent.secret);
If you have a possible attack vector please make a comment or an issue and include the code like so