xkcd_diff

作成日 差分は期限切れになりません
36 削除
133 行
123 追加
211 行

<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<head>
<head>
<link rel="stylesheet" type="text/css" href="/s/b0dcca.css" title="Default"/>
<link rel="stylesheet" type="text/css" href="http://xkcd.com/s/b0dcca.css" title="Default"/>
<title>xkcd: Barrel - Part 1</title>
<title id="btitle">xkcd: TITLENAME</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<link rel="shortcut icon" href="/s/919f27.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="http://xkcd.com/s/919f27.ico" type="image/x-icon"/>
<link rel="icon" href="/s/919f27.ico" type="image/x-icon"/>
<link rel="icon" href="http://xkcd.com/s/919f27.ico" type="image/x-icon"/>
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="/atom.xml"/>
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="http://xkcd.com/atom.xml"/>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="/rss.xml"/>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://xkcd.com/rss.xml"/>
<script>
<style>ul.comicNav li button {
/*background-color: #6E6E6E;*/
background-color:#6E7B91;
color: #FFF;
border: 1.5px solid #333;
font-size: 16px;
font-weight: 600;
padding: 1.5px 12px;
margin: 0 4px;
text-decoration: none;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
box-shadow: 0 0 5px 0 gray;
-moz-box-shadow: 0 0 5px 0 gray;
-webkit-box-shadow: 0 0 5px 0 gray;
}


ul.comicNav button:hover, ul.comicNav button:focus {
background-color: #FFF;
color: #6E7B91;
box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
}
</style>
<script>var cG={};cG.recyclebin={defer:!0,mainsrc:"../comixngn.min.js",loadcng:[],plugin:"",comicID:"xkcd_CNG",disable:["rollbar"],/*! Bellerophon: Comix-Ngn plugin|pegasus: typicode.github.io/pegasus (MIT) (c) 2014 typicode*/
dir:"",tir:"",dfr:function(){var e=document.createElement("script");cG.REPO.scReq.getScript=cG.agent("./"+cG.recyclebin.dir+"script.json"),cG.REPO.scReq.getDecor=cG.agent("./"+cG.recyclebin.tir+"decor.html"),cG.REPO.scReq.getCtrls=cG.agent(cG.recyclebin.tir+"ctrls.html"),cG.REPO.scReq.getScript.then(function(e){void 0===cG.REPO.script?cG.REPO.script={def:e}:cG.REPO.script.def=e,cG.script=cG.REPO.script.def},function(e,c){console.error(e,c.status),void 0===cG.REPO.script?cG.REPO.script={def:0}:cG.REPO.script.def=e,cG.script=cG.REPO.script.def}),cG.REPO.scReq.getDecor.then(function(e){void 0===cG.REPO.decor?cG.REPO.decor={def:e}:cG.REPO.decor.def=e,cG.decor=cG.REPO.decor.def},function(e,c){console.error(e,c.status),void 0===cG.REPO.decor?cG.REPO.decor={def:0}:cG.REPO.decor.def=0,cG.decor=cG.REPO.decor.def}),cG.REPO.scReq.getCtrls.then(function(e){void 0===cG.REPO.ctrls?cG.REPO.ctrls={def:e}:cG.REPO.ctrls.def=e,cG.ctrls=cG.REPO.ctrls.def},function(e,c){console.error(e,c.status),void 0===cG.REPO.ctrls?cG.REPO.ctrls={def:0}:cG.REPO.ctrls.def=0,cG.ctrls=cG.REPO.ctrls.def}),cG.comicID=cG.recyclebin.comicID;for(var c=0;c<cG.recyclebin.disable.length;c++)cG.dis[cG.recyclebin.disable[c]]=!0;e.src=cG.recyclebin.mainsrc,document.body.appendChild(e);for(var t=0;t<cG.recyclebin.loadcng.length;t++)e=document.createElement("script"),e.src=cG.recyclebin.loadcng[t],document.body.appendChild(e)}},cG.agent=function(e,c){return c=new XMLHttpRequest,c.open("GET",e),e=[],c.onreadystatechange=c.then=function(t,r,o){if(t&&t.call&&(e=[,t,r]),4==c.readyState&&(o=e[0|c.status/200]))try{o(JSON.parse(c.responseText),c)}catch(n){o(c.responseText,c)}},c.send(),c},cG.REPO={scReq:{}},cG.dis={},cG.$GPC=cG.$GPC+1||1,!function(){return cG.recyclebin.defer?void(window.addEventListener?window.addEventListener("load",cG.recyclebin.dfr,!1):window.attachEvent?window.attachEvent("onload",cG.recyclebin.dfr):window.onload=cG.recyclebin.dfr):cG.recyclebin.dfr()}();
/**/
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
/*(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');


ga('create', 'UA-25700708-7', 'auto');
ga('create', 'UA-25700708-7', 'auto');
ga('send', 'pageview');
ga('send', 'pageview');*/
</script>
</script>
<script>
var disposeme = function() {
//console.log("running");
var name = "comic";//document.getElementById("comic").getAttribute("id");
if(cG===void 0) return setTimeout(disposeme, 400);
else if(cG.cPanel===void 0) return setTimeout(disposeme, 400);
else if(cG.cPanel["def_"+name]===void 0) return setTimeout(disposeme, 400);
else if(cG.cPanel["def_"+name]===void 0) return setTimeout(disposeme, 400);//possible race condition bug, when url has hash in it
else if(cG.cPanel["def_"+name].data()===void 0) return setTimeout(disposeme, 400);//possible race condition bug, when url has hash in it
document.getElementById("comic_location").title=cG.cPanel["def_"+name].data().hover;
document.getElementById("btitle").innerHTML=cG.cPanel["def_"+name].data().title;
document.getElementById("ctitle").innerHTML=cG.cPanel["def_"+name].data().title;
var q=document.getElementsByClassName("frst"),
w=document.getElementsByClassName("prev"),
e=document.getElementsByClassName("rand"),
r=document.getElementsByClassName("next"),
t=document.getElementsByClassName("last");
//console.log(q,w,e,r,t,cG.cPanel["def_"+name]);
for (var y = 0; y < q.length; y++) q[y].addEventListener("click", function() {
box = cG.cPanel["def_"+name].data(cG.cPanel["def_"+name].frst());
document.getElementById("comic_location").title = box.hover;
document.getElementById("btitle").innerHTML = document.getElementById("ctitle").innerHTML = box.title;
});
for (var y = 0; y < w.length; y++) w[y].addEventListener("click", function() {
box = cG.cPanel["def_"+name].data(cG.cPanel["def_"+name].prev());
document.getElementById("comic_location").title = box.hover;
document.getElementById("btitle").innerHTML = document.getElementById("ctitle").innerHTML = box.title;
});
for (var y = 0; y < e.length; y++) e[y].addEventListener("click", function() {
box = cG.cPanel["def_"+name].data(cG.cPanel["def_"+name].rand());
document.getElementById("comic_location").title = box.hover;
document.getElementById("btitle").innerHTML = document.getElementById("ctitle").innerHTML = box.title;
});
for (var y = 0; y < r.length; y++) r[y].addEventListener("click", function() {
box = cG.cPanel["def_"+name].data(cG.cPanel["def_"+name].next());
document.getElementById("comic_location").title = box.hover;
document.getElementById("btitle").innerHTML = document.getElementById("ctitle").innerHTML = box.title;
});
for (var y = 0; y < t.length; y++) t[y].addEventListener("click", function() {
box = cG.cPanel["def_"+name].data(cG.cPanel["def_"+name].last());
document.getElementById("comic_location").title = box.hover;
document.getElementById("btitle").innerHTML = document.getElementById("ctitle").innerHTML = box.title;
});
//console.log("complete");
}
var imagedeffer = function() {
document.getElementById("te-news").src="http://imgs.xkcd.com/store/te-news.png";
}
disposeme();
</script>
<script type="text/javascript" src="//xkcd.com/1350/jquery.min.js"></script>
<!--<script type="text/javascript" src="//xkcd.com/1350/jquery.min.js"></script>