4chan / 4chan-API

Documentation for 4chan's read-only JSON API.
http://www.4chan.org/
1.03k stars 73 forks source link

CAPTCHA frame not embeddable on 3rd-party website #100

Open catamphetamine opened 1 year ago

catamphetamine commented 1 year ago

There's this new CAPTCHA on 4chan.org which provides two ways of using it:

The reason for the <iframe/> not working is Content-Security-Policy HTTP response header having value frame-ancestors https://*.4chan.org;. The fix would be either not specifying that HTTP response header at all, or maybe specifying it to be frame ancestors *;.