Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
OGC
on March 12, 2013
|
parent
|
context
|
favorite
| on:
Ask PG: Comments are not working?
Good to know i'm not the only person fucking things up like this.
sneak
on March 12, 2013
[–]
Protip: Specify urls as "//example.com/path/to/style.css" or such. They will default to whatever protocol (http/https) was used to fetch the parent page. It's also less typing (DRY!).
jonny_eh
on March 12, 2013
|
parent
[–]
Unless you're loading from a file (using file://)
saraid216
on March 12, 2013
|
root
|
parent
[–]
I'm curious about when you would ever do this on a public-facing webpage.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: