From 759746d6f421f0dc61356ff75221a4861c6eb820 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 16 Apr 2020 17:37:30 +0800 Subject: [PATCH] Use HTTPS links --- index.html | 2 +- readme.md | 39 +++++---------------------------------- 2 files changed, 6 insertions(+), 35 deletions(-) diff --git a/index.html b/index.html index 5c249bc..557d609 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + diff --git a/readme.md b/readme.md index c988bcb..fd5ec96 100644 --- a/readme.md +++ b/readme.md @@ -6,35 +6,6 @@ #### [Demo](https://sindresorhus.com/screenfull.js) -
- ---- - -
-

-

- - My open source work is supported by the community - -

- Special thanks to: -
-
- - Botpress - -
- Botpress is an open-source conversational assistant creation platform. -
- They welcome contributions from anyone, whether you're into machine learning,
want to get started in open-source, or just have an improvement idea.
-
-

-
- ---- - -
- ## Install Only 0.7 kB gzipped. @@ -87,7 +58,7 @@ if (document.fullscreenEnabled) { ## Support -[Supported browsers](http://caniuse.com/fullscreen) +[Supported browsers](https://caniuse.com/#feat=fullscreen) **Note:** In order to use this package in Internet Explorer, you need a [`Promise` polyfill](https://github.com/stefanpenner/es6-promise). @@ -275,7 +246,7 @@ $('#new-page-btn').click(() => { const iframe = document.createElement('iframe') iframe.setAttribute('id', 'external-iframe'); - iframe.setAttribute('src', 'http://new-page-website.com'); + iframe.setAttribute('src', 'https://new-page-website.com'); iframe.setAttribute('frameborder', 'no'); iframe.style.position = 'absolute'; iframe.style.top = '0'; @@ -292,7 +263,7 @@ $('#new-page-btn').click(() => { ## Resources -- [Using the Fullscreen API in web browsers](http://hacks.mozilla.org/2012/01/using-the-fullscreen-api-in-web-browsers/) +- [Using the Fullscreen API in web browsers](https://hacks.mozilla.org/2012/01/using-the-fullscreen-api-in-web-browsers/) - [MDN - Fullscreen API](https://developer.mozilla.org/en/DOM/Using_full-screen_mode) -- [W3C Fullscreen spec](http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html) -- [Building an amazing fullscreen mobile experience](http://www.html5rocks.com/en/mobile/fullscreen/) +- [W3C Fullscreen spec](https://fullscreen.spec.whatwg.org/) +- [Building an amazing fullscreen mobile experience](https://developers.google.com/web/fundamentals/native-hardware/fullscreen/)