NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
function d(b){b=/(^.*?fanfiction\.net\/s\/\d+\/)(\d+)(?:\/?.*$)/.exec(b);return b[1]+(parseInt(b[2])+1)} function e(b,a){var c=a.createElement("div"),n=a.getElementById("storytext");if(n){c.setAttribute("class","chapter");var p=a.createElement("span");p.innerHTML=/(^.*?fanfiction\.net\/s\/\d+\/)(\d+)(?:\/?.*$)/.exec(b)[2]+". ";var u=a.getElementsByTagName("title")[0],g=a.createElement("a");g.setAttribute("href",b);g.innerHTML=u.innerHTML;c.appendChild(p);c.appendChild(g);c.appendChild(document.createElement("hr"));c.appendChild(n);return c}return null} var f=document.getElementsByTagName("body")[0],h=document.getElementsByTagName("head")[0],k=document.getElementsByTagName("title")[0],l=document.getElementById("profile_top"),m=e(document.location.href,document),q=l.getElementsByTagName("button");if(q.length)try{for(q[0].remove();h.firstElementChild;)h.firstElementChild.remove();for(;f.firstElementChild;)f.firstElementChild.remove()}catch(r){try{q[0].removeNode(!0);for(var t=h.children;t.length;)t[0].removeNode(!0);for(t=f.children;t.length;)t[0].removeNode(!0)}catch(v){}}f.removeAttribute("style"); var w=document.createElement("style");w.setAttribute("type","text/css");w.innerHTML='body{background-color:#3f5;color:#ccc;margin:0;padding:0;font-family:"Verdana";}div.wrap{max-width:1200px;margin-left:auto;margin-right:auto;}.chapter,#profile_top{background-color:#222;margin-top:1em;margin-bottom:1em;}img{float:left;}canvas{float:left;}a:link{color:#a05;}a:visited{color:#555;}a:hover{color:#fff;}a:active{color:#a05;}';h.appendChild(w);h.appendChild(k);wrap=document.createElement("div"); wrap.setAttribute("class","wrap");var x=document.createElement("div");x.appendChild(l);wrap.appendChild(x);wrap.appendChild(m);f.appendChild(wrap);GLOBAL_URL_FOR_IE="";function y(){var b=(new DOMParser).parseFromString(this.responseText,"text/html"),a=this.a;void 0==a&&(a=GLOBAL_URL_FOR_IE);(b=e(a,b))?(wrap.appendChild(b),z(a)):(a=document.createElement("style"),a.setAttribute("type","text/css"),a.innerHTML="body{background-color:#604;}",h.appendChild(a),console.log("QOMPLETE"))} function z(b){var a=new XMLHttpRequest;a.onload=y;GLOBAL_URL_FOR_IE=d(b);a.open("get",d(b),!0);a.send()}z(document.location.href);