How to use data-saferedirecturl in a tag in PHP?

All links in Gmail are interpreted in the browser.

The data-saferedirecturl tag is added automatically.

So the href shows the link that you will be clicking in the bottom of your browser but sends you to a google-originated URL like https://www.google.com/url?hl=en-GB&site.com/324dd3.

This way the third party don’t have access to sensitive data.

Leave a Comment