samyk / evercookie

Produces persistent, respawning "super" cookies in a browser, abusing over a dozen techniques. Its goal is to identify users after they've removed standard cookies and other privacy data such as Flash cookies (LSOs), HTML5 storage, SilverLight storage, and others.
https://samy.pl/evercookie/
4.43k stars 662 forks source link

Don't overwrite window.name as it does not work nice with Facebook canvas apps #127

Open woutervantilburg opened 7 years ago

woutervantilburg commented 7 years ago

evercookie.js overwrites the window.name which in turn destroys the FB.Canvas.setSize method.

orginal name: "iframe_canvas_fb_https" new name: "iframe_canvas_fb_https&btag="

Don't mind the wrong btag.

From FB: NOTE: When using this method, ensure that window.name is not overridden as that can cause issues. (source: https://developers.facebook.com/docs/reference/javascript/FB.Canvas.setSize)