Skip to content
This repository has been archived by the owner on Nov 23, 2018. It is now read-only.

Commit

Permalink
Docs: Use https:// where possible
Browse files Browse the repository at this point in the history
Close #229
  • Loading branch information
slavanga authored and arthurvr committed Oct 1, 2014
1 parent 8699148 commit 448ab76
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 30 deletions.
2 changes: 1 addition & 1 deletion crossdomain.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<!-- Read this: www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->
<!-- Read this: https://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->

<!-- Most restrictive policy: -->
<site-control permitted-cross-domain-policies="none"/>
Expand Down
4 changes: 2 additions & 2 deletions doc/crossdomain.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ custom headers in cross-domain requests, and are also used with sockets to
grant permissions for socket-based connections.

For full details, check out Adobe's article about the [cross-domain policy file
specification](http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html)
specification](https://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html)

Read the [Cross-domain policy file
specification](http://www.adobe.com/devnet-docs/acrobatetk/tools/AppSec/CrossDomain_PolicyFile_Specification.pdf).
specification](https://www.adobe.com/devnet-docs/acrobatetk/tools/AppSec/CrossDomain_PolicyFile_Specification.pdf).
2 changes: 1 addition & 1 deletion doc/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ development preferences happen to be.

Normalize.css is a modern, HTML5-ready alternative to CSS resets. It contains
extensive inline documentation. Please refer to the [Normalize.css
project](http://necolas.github.com/normalize.css/) for more information.
project](https://necolas.github.com/normalize.css/) for more information.


## Mobile Boilerplate defaults
Expand Down
23 changes: 11 additions & 12 deletions doc/extend.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ AddType application/x-java-archive jar
AddType text/vnd.sun.j2me.app-descriptor jad
```

* [Apache configuration for mobile application download](http://bit.ly/SJJCND)
* [How to enable OTA (Over The Air) SIS install from your website](http://bit.ly/ORTLLA)
* [Apache configuration for mobile application download](https://bit.ly/SJJCND)
* [How to enable OTA (Over The Air) SIS install from your website](https://bit.ly/ORTLLA)

## DNS prefetching

Expand Down Expand Up @@ -143,8 +143,7 @@ on blogs.msdn.com)
### Further reading about DNS prefetching

* https://developer.mozilla.org/En/Controlling_DNS_prefetching
* http://dev.chromium.org/developers/design-documents/dns-prefetching
* http://www.apple.com/safari/whats-new.html
* https://dev.chromium.org/developers/design-documents/dns-prefetching
* http://blogs.msdn.com/b/ie/archive/2011/03/17/internet-explorer-9-network-performance-improvements.aspx
* http://dayofjs.com/videos/22158462/web-browsers_alex-russel

Expand All @@ -153,7 +152,7 @@ on blogs.msdn.com)

### Direct search spiders to your sitemap

[Learn how to make a sitemap](http://www.sitemaps.org/protocol.php)
[Learn how to make a sitemap](http://www.sitemaps.org/protocol.html)

```html
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml">
Expand Down Expand Up @@ -223,12 +222,12 @@ app, or open it with some data about the user's current state on the website.

Low-end mobile devices may not support JavaScript, same as email tracking, to tackle this issue, Google use image download as a tracker.

All the same data that you've come to expect from your Google Analytics reports is now available for mobile websites. Simply paste their server-side code snippets (available for PHP, JSP, ASP.NET, and Perl) on each page you wish to track. Google Analytics then creates a profile for your mobile website where you can view the same kind of information that's in standard Analytics reports including visitor information and traffic sources. You'll be able to track users visiting your mobile website from both high-end "smartphones" and WAP devices. For more information on tracking hits to mobile sites, see the [server-side developer's guide](http://code.google.com/mobile/analytics/docs/web/).
All the same data that you've come to expect from your Google Analytics reports is now available for mobile websites. Simply paste their server-side code snippets (available for PHP, JSP, ASP.NET, and Perl) on each page you wish to track. Google Analytics then creates a profile for your mobile website where you can view the same kind of information that's in standard Analytics reports including visitor information and traffic sources. You'll be able to track users visiting your mobile website from both high-end "smartphones" and WAP devices. For more information on tracking hits to mobile sites, see the [server-side developer's guide](https://code.google.com/mobile/analytics/docs/web/).

### More tracking settings

The [optimized Google Analytics
snippet](http://mathiasbynens.be/notes/async-analytics-snippet) included with
snippet](https://mathiasbynens.be/notes/async-analytics-snippet) included with
Mobile Boilerplate includes something like this:

```js
Expand All @@ -237,7 +236,7 @@ var _gaq = [['_setAccount', 'UA-XXXXX-X'], ['_trackPageview']];

In case you need more settings, just extend the array literal instead of
[`.push()`ing to the
array](http://mathiasbynens.be/notes/async-analytics-snippet#dont-push-it)
array](https://mathiasbynens.be/notes/async-analytics-snippet#dont-push-it)
afterwards:

```js
Expand All @@ -251,7 +250,7 @@ that do not have similarly strict laws (i.e. from Germany to outside the EU).
Thus a webmaster using the Google Analytics script may have to ensure that no
personal (trackable) data is transferred to the US. You can do that with [the
`_gat.anonymizeIp`
option](http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gat.html#_gat._anonymizeIp).
option](https://developers.google.com/analytics/devguides/collection/analyticsjs/advanced#anonymizeip).
In use it looks like this:

```js
Expand Down Expand Up @@ -330,7 +329,7 @@ $(function(){
There are various JS plugins available to help facilitate installing mobile web apps
to the home screen.

* [Mobile Bookmark Bubble](http://code.google.com/p/mobile-bookmark-bubble/) (Mobile Safari only).
* [Mobile Bookmark Bubble](https://code.google.com/p/mobile-bookmark-bubble/) (Mobile Safari only).
* [Add to Home Screen](https://github.com/cubiq/add-to-homescreen) (Mobile Safari only).
* [jQuery Mobile Bookmark Bubble](https://github.com/okamototk/jqm-mobile-bookmark-bubble) (Mobile Safari, Android, BlackBerry).
* [Concierge](https://github.com/alexgibson/concierge) (Firefox OS, Firefox for Android).
Expand All @@ -341,12 +340,12 @@ to the home screen.
polyfills](https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills).

* If you're building a web app you may want [native style momentum scrolling in
iOS5](http://johanbrook.com/browsers/native-momentum-scrolling-ios-5/) using
iOS5](http://www.johanbrook.com/articles/native-style-momentum-scrolling-to-arrive-in-ios-5/) using
`-webkit-overflow-scrolling: touch`.

* Automatic telephone number detection prevention for iOS and Android using
`<meta name="format-detection" content="telephone=no">`.
[Safari HTML Reference Supported Meta Tags](http://developer.apple.com/library/safari/#documentation/appleapplications/reference/SafariHTMLRef/Articles/MetaTags.html)
[Safari HTML Reference Supported Meta Tags](https://developer.apple.com/library/safari/documentation/appleapplications/reference/SafariHTMLRef/Articles/MetaTags.html)

* Avoid development/stage websites "leaking" into SERPs (search engine results
page) by [implementing X-Robots-tag
Expand Down
2 changes: 1 addition & 1 deletion doc/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ but you'll have to assess the costs/benefits of doing so.
### Where can I get help for support questions?

Please ask for help on
[StackOverflow](http://stackoverflow.com/questions/tagged/html5boilerplate).
[StackOverflow](https://stackoverflow.com/questions/tagged/html5boilerplate).
20 changes: 10 additions & 10 deletions doc/html.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ FOUC](http://paulirish.com/2009/avoiding-the-fouc-v3/).
## The order of meta tags, and `<title>`

As recommended by [the HTML5
spec](http://www.whatwg.org/specs/web-apps/current-work/complete/semantics.html#charset)
spec](https://html.spec.whatwg.org/multipage/semantics.html#charset)
(4.2.5.5 Specifying the document's character encoding), add your charset
declaration early (before any ASCII art ;) to avoid a potential
[encoding-related security
issue](http://code.google.com/p/doctype-mirror/wiki/ArticleUtf7) in IE. It
issue](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7) in IE. It
should come in the first [1024
bytes](http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#charset).
bytes](https://html.spec.whatwg.org/multipage/semantics.html#charset1024).

The charset should also come before the `<title>` tag, due to [potential XSS
vectors](http://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).
vectors](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).

The meta tag for compatibility mode [needs to be before all elements except
title and meta](http://h5bp.com/f "Defining Document Compatibility - MSDN").
And that same meta tag can only be invoked for Google Chrome Frame if it is
within the [first 1024
bytes](http://code.google.com/p/chromium/issues/detail?id=23003).
bytes](https://code.google.com/p/chromium/issues/detail?id=23003).

## Mobile viewport

Expand Down Expand Up @@ -87,7 +87,7 @@ For non-Retina iPhone, iPod Touch, and Android 2.1+ devices
<link rel="shortcut icon" href="img/l/apple-touch-icon.png">
```

For a comprehensive overview, please read [Everything you always wanted to know about touch icons](http://mathiasbynens.be/notes/touch-icons) by Mathias Bynens.
For a comprehensive overview, please read [Everything you always wanted to know about touch icons](https://mathiasbynens.be/notes/touch-icons) by Mathias Bynens.

For Nokia devices

Expand All @@ -97,7 +97,7 @@ For Nokia devices
<meta http-equiv="cleartype" content="on">
```

Mobile Internet Explorer allows us to activate [ClearType](http://www.microsoft.com/typography/whatiscleartype.mspx) technology for smoothing fonts for easy reading
Mobile Internet Explorer allows us to activate [ClearType](https://www.microsoft.com/typography/whatiscleartype.mspx) technology for smoothing fonts for easy reading

## iOS web app

Expand Down Expand Up @@ -156,7 +156,7 @@ web app development.

## jQuery

HTML5 Mobile Boilerplate comes with the latest version of [jQuery](http://jquery.com).
HTML5 Mobile Boilerplate comes with the latest version of [jQuery](https://jquery.com).

## Google Analytics Tracking Code

Expand All @@ -169,6 +169,6 @@ number of simultaneous connections of the browser.
Further information:

* [Optimizing the asynchronous Google Analytics
snippet](http://mathiasbynens.be/notes/async-analytics-snippet).
snippet](https://mathiasbynens.be/notes/async-analytics-snippet).
* [Tracking Site Activity - Google
Analytics](http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html).
Analytics](https://developers.google.com/analytics/devguides/collection/gajs/asyncTracking).
5 changes: 2 additions & 3 deletions doc/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ need to integrate this starting HTML with your setup.
Make sure that you update the URLs for the referenced CSS and JavaScript if you
modify the directory structure at all.

If you are using Google Analytics, make sure that you edit the corresponding
snippet at the bottom to include your analytics ID.
If you are using Google Analytics, make sure that you edit the corresponding snippet at the bottom to include your analytics ID.

### humans.txt

Expand All @@ -116,4 +115,4 @@ crossdomain.xml](crossdomain.md).
Replace the default `favicon.ico`, apple touch icons and startup images with your own. You
might want to check out Hans Christian's handy [HTML5 Boilerplate Favicon and
Apple Touch Icon
PSD-Template](http://drublic.de/blog/html5-boilerplate-favicons-psd-template/).
PSD-Template](https://drublic.de/blog/html5-boilerplate-favicons-psd-template/).

0 comments on commit 448ab76

Please sign in to comment.