compressing external links
Closed this issue · 3 comments
GoogleCodeExporter commented
I've noticed many sites uses 'http://' to start external links when '//' is
shorter and seems to work fine cross-browser.
Original issue reported on code.google.com by erich.re...@gmail.com
on 13 Apr 2011 at 5:48
GoogleCodeExporter commented
I tried to find some info about this and couldn't. I guess I can add it for
those who know what they are doing.
I am not sure though inside which tag properties it is safe to remove the
protocol ("href", "src", anything else?)
Original comment by serg472@gmail.com
on 13 Apr 2011 at 4:04
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
GoogleCodeExporter commented
href and src are the two big ones. The only other one I can think to consider
would be url('http://...') inside css.
I just tested the css shortening and it worked in IE7, Chrome10 and Firefox3.6
Original comment by erich.re...@gmail.com
on 14 Apr 2011 at 12:58
GoogleCodeExporter commented
Added in 1.3 release.
Thanks.
Original comment by serg472@gmail.com
on 25 Apr 2011 at 2:53
- Changed state: Fixed