chaesthetics / FrontEnd-Dev

For Meta Certification
0 stars 0 forks source link

iFrame sandbox cheat sheet #45

Open chaesthetics opened 10 months ago

chaesthetics commented 10 months ago

The

name The name for the

height It specifies the height of the frame. The default value is 150, in terms of CSS pixels. width

width Specifies the width of the frame, in terms of CSS pixels. The default value is 300 pixels.

referrerpolicy A referrer is the HTTP header that lets the page know who is loading it. This attribute indicates which referrer information to send when loading the frame resource. The common values are:

no-referrer The referrer header will not be sent.

origin The referrer will be limited to the origin of the referring page

strict-origin The origin of the document is sent as the referrer only when using the same protocol security level (HTTPS to HTTPS)

sandbox To enforce greater security, a sandbox applies extra restrictions to the content in the