Skip to content

Commit

Permalink
Use HTTPS links
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 5, 2020
1 parent 67d92b1 commit 759746d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 35 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="en" itemscope itemtype="http://schema.org/Product">
<html lang="en" itemscope itemtype="https://schema.org/Product">
<head>
<meta charset="utf-8">
<meta name="author" content="Sindre Sorhus">
Expand Down
39 changes: 5 additions & 34 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,6 @@

#### [Demo](https://sindresorhus.com/screenfull.js)

<br>

---

<div align="center">
<p>
<p>
<sup>
<a href="https://github.com/sponsors/sindresorhus">My open source work is supported by the community</a>
</sup>
</p>
<sup>Special thanks to:</sup>
<br>
<br>
<a href="https://github.com/botpress/botpress">
<img src="https://sindresorhus.com/assets/thanks/botpress-logo.svg" width="260" alt="Botpress">
</a>
<br>
<sub><b>Botpress is an open-source conversational assistant creation platform.</b></sub>
<br>
<sub>They <a href="https://github.com/botpress/botpress/blob/master/.github/CONTRIBUTING.md">welcome contributions</a> from anyone, whether you're into machine learning,<br>want to get started in open-source, or just have an improvement idea.</sub>
<br>
</p>
</div>

---

<br>

## Install

Only 0.7 kB gzipped.
Expand Down Expand Up @@ -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).

Expand Down Expand Up @@ -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';
Expand All @@ -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/)

0 comments on commit 759746d

Please sign in to comment.