Lurker News
Hey HN,

I saw a thread a while ago (linked in README) discussing how Wikipedia does a good job keeping track of the domains of websites like Sci-Hub or The Pirate Bay. Someone mentioned checking Wikipedia to find links to these sites, so I thought this would be a fun thing to automate!
To try it out, install an extension or modify your hosts file, then type in the name of a website with the TLD `.idk`.
For example: scihub.idk -> sci-hub.tw
Cheers!

Comments (104) 28 threads

Earlier comments
CapriciousCptl#
Could use some sort of verification since Wiki can be gamed.

1. Look at past wiki edits combined with article popularity or other signals to arrive at something like a confidence level.
2. Offer some sort of confirmation check to the user.

gbear6052 replies#
One concern is that you can’t always trust the Wikipedia link. For example, in this edit [1] to the Equifax page, a spammer changed the link to a spam site. They’re usually fixed quickly, but it’s not guaranteed. So it’s a really neat project, but be careful about actually using it, especially for sensitive websites.

[1]: https://en.wikipedia.org/w/index.php?title=Equifax&diff=9455...

edjrage#
True, seems pretty risky. Maybe the extension could take advantage of the edit history and warn the user about recent changes?

Edit: Unrelated to this issue, but I have a more general idea for the kinds of inputs this extension may accept. It could be an omnibox command [0] that takes the input text, passes it through some search engine with "site:wikipedia.org", visits the first result and finally grabs the URL. So you don't have to know any part of the URL - you can just type the name of the thing.
[0]: https://developer.chrome.com/extensions/omnibox

yreg#
The user should exercise caution, but in the use cases provided (a new scihub/tpb domain) that applies regardless.
29athrowaway#
Many Wikipedia articles can be edited by anyone. This is not secure.
jrockway1 reply#
Why does Google censor results, but not Wikipedia? It seems like you can DMCA Wikipedia just as easily as Google.

Overall this is a nifty hack and I like it a lot. Wikipedia has an edit history, and a DNS changelog is something that is very interesting to have. People can change things and phish users of this service, of course, but with the edit log you can see when and potentially why. That kind of transparency is pretty scary to someone that wants to do something malicious or nefarious.

jhasse#
Google also sells copyrighted content, Wikipedia doesn't.

Load more comments