Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
someusrrrr22
· 8y ago · 0 comments
Why not just do `if(window.location.href !== '
http://our-site.com'
) { send_email(window.location.href + ' stole code'); }`?
Comments
[–]
vortico
8y ago
I think this is for local deployments of web apps like a localhost site or Electron app. I could be wrong though.