sindresorhus / screenfull

Simple wrapper for cross-browser usage of the JavaScript Fullscreen API
https://sindresorhus.com/screenfull
MIT License
7.08k stars 698 forks source link

gh-pages forcing HTTP #72

Closed belm0 closed 9 years ago

belm0 commented 9 years ago

It would be nice if the gh-pages URL's for this project didn't redirect to sindresorhus.com (forcing HTTP), so that apps could use the script from gh-pages directly.

I.e. currently https://sindresorhus.github.io/screenfull.js/dist/screenfull.min.js redirects to http://sindresorhus.com/screenfull.js/dist/screenfull.min.js, causing browser to throw cross-scheme exception.

Thanks for considering and for the useful tool.

sindresorhus commented 9 years ago

That's intentional. You absolutely shouldn't directly link that. GitHub has hotlink limits. Rather use the referenced CDN link if you want to directly link to the script ;)