mirror of
https://github.com/panzi/Browser-Ponies.git
synced 2025-10-05 16:12:48 +02:00
http -> https
This commit is contained in:
@@ -337,7 +337,7 @@ var BrowserPonies = (function () {
|
||||
return URL.fix(baseurl);
|
||||
},
|
||||
fix: function (url) {
|
||||
return url.replace(/^https?:\/\/web\d?\.student\.tuwien\.ac\.at\/~e0427417\/browser-ponies\//,"http://panzi.github.com/Browser-Ponies/");
|
||||
return url.replace(/^https?:\/\/web\d?\.student\.tuwien\.ac\.at\/~e0427417\/browser-ponies\//,"https://panzi.github.com/Browser-Ponies/");
|
||||
}
|
||||
});
|
||||
|
||||
|
@@ -3,11 +3,16 @@
|
||||
var observe = BrowserPonies.Util.observe;
|
||||
var tag = BrowserPonies.Util.tag;
|
||||
var $ = BrowserPonies.Util.$;
|
||||
var absUrl = BrowserPonies.Util.URL.abs;
|
||||
var _absUrl = BrowserPonies.Util.URL.abs;
|
||||
var has = BrowserPonies.Util.has;
|
||||
var partial = BrowserPonies.Util.partial;
|
||||
var dataUrl = BrowserPonies.Util.dataUrl;
|
||||
|
||||
function absUrl (url) {
|
||||
// force https
|
||||
return _absUrl(url).replace(/^http:/,'https:');
|
||||
}
|
||||
|
||||
if (typeof($x) === "undefined" && document.evaluate) {
|
||||
window.$x = function (xpath, context) {
|
||||
var nodes = [];
|
||||
|
24
index.html
24
index.html
@@ -1,15 +1,15 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf8"/>
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge;chrome=1"/>
|
||||
<meta name="description" content="Browser Ponies lets you place ponies on websites"/>
|
||||
<title>Browser Ponies</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico"/>
|
||||
<link rel="stylesheet" type="text/css" href="gui.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="http://panzi.github.com/SocialSharePrivacy/stylesheets/jquery.socialshareprivacy.min.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="https://panzi.github.io/SocialSharePrivacy/stylesheets/jquery.socialshareprivacy.min.css"/>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="http://stringencoders.googlecode.com/svn-history/r230/trunk/javascript/base64.js"></script>
|
||||
<script type="text/javascript" src="https://stringencoders.googlecode.com/svn-history/r230/trunk/javascript/base64.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (!window.btoa) window.btoa = base64.encode;
|
||||
if (!window.atob) window.atob = base64.decodeo;
|
||||
@@ -18,7 +18,7 @@ if (!window.atob) window.atob = base64.decodeo;
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
||||
<script type="text/javascript">jQuery.noConflict();</script>
|
||||
<script type="text/javascript" src="jquery.cookies.js"></script>
|
||||
<script type="text/javascript" src="http://panzi.github.com/SocialSharePrivacy/javascripts/jquery.socialshareprivacy.min.js"></script>
|
||||
<script type="text/javascript" src="https://panzi.github.io/SocialSharePrivacy/javascripts/jquery.socialshareprivacy.min.js"></script>
|
||||
<script type="text/javascript" src="ponycfg.js" id="browser-ponies-config"></script>
|
||||
<script type="text/javascript" src="browserponies.js" id="browser-ponies-script"></script>
|
||||
<script type="text/javascript" src="gui-common.js"></script>
|
||||
@@ -48,10 +48,10 @@ jQuery(document).ready(function ($) {
|
||||
spawn: BrowserPoniesConfig.spawn
|
||||
});
|
||||
},
|
||||
path_prefix: "http://panzi.github.com/SocialSharePrivacy/"
|
||||
path_prefix: "https://panzi.github.io/SocialSharePrivacy/"
|
||||
});
|
||||
$('#comments-button').click(function () {
|
||||
$.getScript('http://' + disqus_shortname + '.disqus.com/embed.js');
|
||||
$.getScript('https://' + disqus_shortname + '.disqus.com/embed.js');
|
||||
$(this).remove();
|
||||
});
|
||||
});
|
||||
@@ -86,8 +86,8 @@ It doesn't behave exactly like the original but is close enough (no games and no
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Browser Ponies work best with <a href="http://www.google.com/chrome">Google Chrome</a>, but they also
|
||||
work okay in <a href="http://www.mozilla.org/firefox/">Mozilla Firefox</a>.
|
||||
Browser Ponies work best with <a href="https://www.google.com/chrome/browser/">Google Chrome</a>, but they also
|
||||
work okay in <a href="https://www.mozilla.org/firefox/">Mozilla Firefox</a>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
@@ -191,8 +191,8 @@ you can use this embed code to confine the ponies into an iframe:</label>
|
||||
<td><input type="checkbox" id="enableaudio" onchange="updateConfig();"/></td>
|
||||
<td><label for="enableaudio">Enable Audio</label>
|
||||
<span id="noaudio">(Your Browser does not support HTML5 Audio. Get a
|
||||
<a href="http://www.google.com/chrome" title="Goolge Chrome or…">better</a>
|
||||
<a href="http://www.mozilla.org/firefox/" title="…Mozilla Firefox">browser</a>.)</span>
|
||||
<a href="https://www.google.com/chrome/browser/" title="Goolge Chrome or…">better</a>
|
||||
<a href="https://www.mozilla.org/firefox/" title="…Mozilla Firefox">browser</a>.)</span>
|
||||
<span id="hasaudio" style="display:none;">(Your browser supports HTML 5 Audio.)</span>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -319,7 +319,7 @@ import the resulting file in your browser (only tested in Chrome and Firefox):
|
||||
|
||||
<p>
|
||||
Send me feedback via <a id="email">email</a>, write a <a href="#disqus_thread">comment</a>,
|
||||
<a href="http://www.twitter.com/bloodyalbatross">tweet me</a> or write a
|
||||
<a href="https://www.twitter.com/bloodyalbatross">tweet me</a> or write a
|
||||
<a href="https://github.com/panzi/Browser-Ponies/issues/new">bug report</a>.
|
||||
</p>
|
||||
|
||||
|
Reference in New Issue
Block a user