DEV Community

Discussion on: Blocking Disposable Emails

Collapse
 
caffiendkitten profile image
DaNeil C

Cant Referrer headers be changed?

Collapse
 
jborak profile image
John • Edited

Most of these temporary email providers provide a web UI for retrieving emails from the temporary inbox. If they copy the link and paste it into new tab, you'd lose the Referrer. If they're lazy and just click it then it'll we'll get the Referrer and our logic will work.

There might be browser settings that drop the Referrer for the sake of privacy, or extensions that do this, so it's not perfect but I collect enough new domains from this method that I was glad I stumbled on it.