this post was submitted on 03 Aug 2023
752 points (98.3% liked)

Programmer Humor

36902 readers
3 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] photonic_sorcerer@lemmy.dbzer0.com 58 points 2 years ago (4 children)

Gotta implement this in my sites

[–] UdeRecife@literature.cafe 7 points 2 years ago (3 children)

How? I'm asking in behalf of a friend.

[–] CupDock@lemmy.world 26 points 2 years ago* (last edited 2 years ago)

Quotes make it only return results that contain exactly what's in the quotes. All you need to do is put a string in your website that is unique to all indexed pages. Since there's no length limit (well, google searches have a max length, but it's pretty long), I expect that the vast majority of web pages will have some phrase you can use like this.

In theory, you could just search for the entire contents of a page in quotes and it'll be the only thing that pops up unless another page is identical or contains an identical copy of the first page within it.

load more comments (2 replies)
load more comments (2 replies)