Disable Cookies Inside A Frame/Iframe

前端 未结 3 1818
心在旅途
心在旅途 2021-01-11 23:48

Is there any way to programatically disable cookies being created by a page displayed inside of a frame/iframe? Or to generalise further, is it possible to programatically d

3条回答
  •  滥情空心
    2021-01-12 00:22

    with iframe sandbox attribute (html5) it will be possible (implemented in chrome)

    http://dev.w3.org/html5/spec/Overview.html#attr-iframe-sandbox

    NullUserException already answered what you can do today without browser support

提交回复
热议问题