Google Chrome developers have suggested adding support for a new HTML tag that will allow webmasters to prevent third-party cookies from tracking their users.
Third-party iframes can link with the website that has embedded them in all current web browsers. Unscrupulous web developers also take advantage of this to violate visitors’ privacy and monitor their online activities.
Google has proposed a new embedded iframe called Fenced Frame as a way to separate user data and prevent it from being viewed by other website pages.
Fenced Frames are a new type of embedded document that helps create a barrier between the embedding page and the cross-site embedded document, according to Google.
Fenced Frames are further restricted by Chrome’s developers, who by default deny the tag’s access to the browser’s storage areas, including the cache and the localStorage element. While Google claims the new tags are still a prototype and not in active development, they have reportedly been added to the latest Chrome test builds.
Web browsers currently allow third-party iframes to interact with the page they’re embedded in. This can be achieved with the help of postMessage, attributes (such as size and name), and permissions.