doc: Remove force-https.js

GitHub pages will do the same thing instead.
This commit is contained in:
Hajime Hoshi 2017-08-18 23:44:11 +09:00
parent a444f1ba35
commit a365f0c7d4
23 changed files with 0 additions and 41 deletions

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="{{.URL}}images/examples/{{.Example.Name}}.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="{{.URL}}images/examples/{{.Example.Name}}.png">
<meta name="description" content="Ebiten example - {{.Example.Name}}"> <meta name="description" content="Ebiten example - {{.Example.Name}}">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="./scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="{{.URL}}images/logo.svg"> <meta property="og:image" itemprop="image primaryImageOfPage" content="{{.URL}}images/logo.svg">
<meta name="description" content="Ebiten - A simple 2D game library in Go"> <meta name="description" content="Ebiten - A simple 2D game library in Go">
<link rel="shortcut icon" href="./favicon.png" type="image/png"> <link rel="shortcut icon" href="./favicon.png" type="image/png">

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/2048.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/2048.png">
<meta name="description" content="Ebiten example - 2048"> <meta name="description" content="Ebiten example - 2048">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/alphablending.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/alphablending.png">
<meta name="description" content="Ebiten example - alphablending"> <meta name="description" content="Ebiten example - alphablending">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/audio.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/audio.png">
<meta name="description" content="Ebiten example - audio"> <meta name="description" content="Ebiten example - audio">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/blocks.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/blocks.png">
<meta name="description" content="Ebiten example - blocks"> <meta name="description" content="Ebiten example - blocks">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/font.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/font.png">
<meta name="description" content="Ebiten example - font"> <meta name="description" content="Ebiten example - font">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/gamepad.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/gamepad.png">
<meta name="description" content="Ebiten example - gamepad"> <meta name="description" content="Ebiten example - gamepad">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/hsv.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/hsv.png">
<meta name="description" content="Ebiten example - hsv"> <meta name="description" content="Ebiten example - hsv">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/hue.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/hue.png">
<meta name="description" content="Ebiten example - hue"> <meta name="description" content="Ebiten example - hue">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/infinitescroll.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/infinitescroll.png">
<meta name="description" content="Ebiten example - infinitescroll"> <meta name="description" content="Ebiten example - infinitescroll">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/keyboard.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/keyboard.png">
<meta name="description" content="Ebiten example - keyboard"> <meta name="description" content="Ebiten example - keyboard">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/life.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/life.png">
<meta name="description" content="Ebiten example - life"> <meta name="description" content="Ebiten example - life">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/masking.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/masking.png">
<meta name="description" content="Ebiten example - masking"> <meta name="description" content="Ebiten example - masking">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/mosaic.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/mosaic.png">
<meta name="description" content="Ebiten example - mosaic"> <meta name="description" content="Ebiten example - mosaic">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/noise.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/noise.png">
<meta name="description" content="Ebiten example - noise"> <meta name="description" content="Ebiten example - noise">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/paint.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/paint.png">
<meta name="description" content="Ebiten example - paint"> <meta name="description" content="Ebiten example - paint">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/perspective.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/perspective.png">
<meta name="description" content="Ebiten example - perspective"> <meta name="description" content="Ebiten example - perspective">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/piano.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/piano.png">
<meta name="description" content="Ebiten example - piano"> <meta name="description" content="Ebiten example - piano">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/rotate.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/rotate.png">
<meta name="description" content="Ebiten example - rotate"> <meta name="description" content="Ebiten example - rotate">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="../scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/sprites.png"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/sprites.png">
<meta name="description" content="Ebiten example - sprites"> <meta name="description" content="Ebiten example - sprites">
<link rel="shortcut icon" href="../favicon.png" type="image/png" > <link rel="shortcut icon" href="../favicon.png" type="image/png" >

View File

@ -1,6 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<script src="./scripts/force-https.js"></script>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/logo.svg"> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/logo.svg">
<meta name="description" content="Ebiten - A simple 2D game library in Go"> <meta name="description" content="Ebiten - A simple 2D game library in Go">
<link rel="shortcut icon" href="./favicon.png" type="image/png"> <link rel="shortcut icon" href="./favicon.png" type="image/png">

View File

@ -1,19 +0,0 @@
'use strict';
(function() {
var location = window.location;
if (location.hostname === 'localhost' || location.hostname === '127.0.0.1') {
return;
}
var protocol = location.protocol;
if (protocol === 'https:') {
return;
}
var url = 'https:' + window.location.href.substring(protocol.length);
// Pass the referrer info to the new URL for Google Analytics.
if (document.referrer) {
var referrerPart = 'referrer=' + encodeURIComponent(document.referrer);
url += (location.search ? '&' : '?') + referrerPart;
}
window.location.href = url;
})();