EFForg / privacybadger

Privacy Badger is a browser extension that automatically learns to block invisible trackers.
https://privacybadger.org
Other
3.19k stars 386 forks source link

Upgrade Tweet replacement with surrogate JS API #2926

Closed ghostwords closed 11 months ago

ghostwords commented 11 months ago

Fixes #1393. Following up on #2805 and 4cf05333257536ae0fb93ba7cd1799cc23b02b0c.

https://developer.twitter.com/en/docs/twitter-for-websites/javascript-api/overview

Examples

Already working and should continue to work

Newly working (alternate embed HTML)

Newly working (using JS API)

Still broken

Forums that use a nested frame from https://github.com/s9e/s9e.github.io/blob/master/iframe/2/twitter.min.html:

Forum that uses https://api.twitter.com/1/statuses/oembed.json?id=XXX&omit_script=true&callback=jQueryYYY_ZZZ&_=QQQ:

Broken display