CodePen などの iframe、便利な一方運営元サーバーの都合でセキュリティが変わることも。
今回は 「Blocked by X-Frame-Options Policy」 エラーの対策案をご紹介。
サンプルページ
未対策 https://pythonchannel.com/static/imag...
対策済み
https://pythonchannel.com/static/imag...
コード: https://github.com/oshimamasara/switc...
テキスト: