00:00
00:00
Newgrounds Background Image Theme
Upgrade Your Account!

HO HO HOPE you become a Newgrounds Supporter this year!

We're working hard to give you the best site possible, but we have bills to pay and community support is vital to keep things going and growing. Thank you for considering!

Become a Supporter so NG can see another Christmas!

Might be the wrong forum

1,133 Views | 2 Replies
New Topic Respond to this Topic

Might be the wrong forum 2018-07-12 02:15:21


I was wondering, though, and I think computer savvy people would know the answer to my question.

How could a website know if someone accessed it through a search engine like google? I am a member of a forum and got an achievement for accessing it through google. Its the kind of site you need to be very careful with, and I just want to make sure I am not being hacked.

Response to Might be the wrong forum 2018-07-14 12:42:04



∀x (∃e (e ∈ x ∧ ∀x ¬(x ∈ e)) ∨ ∃y ¬∃e (e ∈ x ∧ ¬∃z (z ∈ y ∧ z ∈ e ∧ ∀x ¬((x ∈ y ∧ x ∈ e) ∧ ¬(x = z)))))

Response to Might be the wrong forum 2018-07-17 11:26:01


They could be checking the HTTP_REFERER flag in the HTTP request to see if it came from Google, or they could be using one of Google's APIs to determine that (essentially quering Google's servers to find out if a view came from a Google search.) The latter is more likely as HTTP_REFERER is not trustworthy and can easily be spoofed (or removed entirely.)

At 7/14/18 12:42 PM, sharpnova wrote: https://developer.mozilla.org/en-US/docs/Web/API/Window/history

The History object does not expose the pages previously viewed; it only gives the ability to add or remove from the browser's history or move back/forward in said history. Exposing the previously viewed pages would be a huge security risk, which is why that is not implemented (with the possible exception of very old browsers.)