3 ms·
Looking at that, it would work (to the extent the list is complete) for things like GitHub pages (at github.io, like foo.github.io) but it doesn't work for GitH
by Jtsummers 5y ago
Looking at that, it would work (to the extent the list is complete) for things like GitHub pages (at github.io, like foo.github.io) but it doesn't work for GitHub user pages and repositories like github.com/foo or github.com/foo/bar. If the URL included a ~ like old school user sites then it could be automatically detectable (assuming others don't randomly throw a ~ in to their paths) like our university websites back in the day with foo.edu/~bar or math.foo.edu/~bar. Of course, now you've got sites using @ (Replit) instead of ~ to indicate a similar notion (that it's a user page and not, properly, the work of the main server hosts/owners), and GitHub and others don't include any kind of sigil providing this kind of information.