School of Computing. Dublin City University.
Online coding site: Ancient Brain
coders JavaScript worlds
Type/Edit/Paste URL in location line and hit return.
Only have to type from "www." rightwards.
Browser fills in "http://" automatically.
http://host/dir/index.html
is the same as:
http://host/dir/
While one page is downloading, don't just sit there.
Hit Ctrl-N
to start a new window and pursue another link.
If things take forever, hit Stop!
(Or Back).
Explore Options and Preferences.
Change your default home page to something sensible.
You can browse files on disk. Enter URLs like:
file://localhost/ http://localhost/ http://127.0.0.1/
Note the location line. Hover mouse over links and notice future location displayed in status line at bottom of screen.
Keep a bookmarks file.
Or just store all your bookmarks on Web pages (public or private). I do this. I don't use bookmarks.
Broken links are a necessary evil.
It's
why the Web scaled (no central database).
But
it's still a real pain.
If a URL doesn't work, I often hack bits off to see:
https://site/~user/dir/fileTry hacking bits from RHS:
https://site/~user/dir/If that doesn't work, hack it from RHS again:
https://site/~user/Maybe you will then find a redirect:
https://newsite/~user/And then you can try adding bits back to the RHS. (People often move their sites entire to a new machine.)
If URL works, but is incomprehensible home page:
http://host/staff/user/user.htm
My algorithm:
Hack it again from RHS:
http://host/staff/user/
not in the hope of finding an index.html
- we figure that the user does not know about the index.html
convention, and user.htm really is his home page
- rather in the hopes that the
directory is readable
and so our browser can construct a raw list of his files
for us to explore directly, without having to follow links
through his home page.
Even if the directory is r-x if there exists an index.html then we can't see the raw listing. This is because the decision of what to send us when we type that URL is made at the server side. So even if the directory is r-x creating an index.html means, due to hard-coded server-side logic (that we can't influence), that the listing will never be sent to us.