This commit is contained in:
bilis 2015-08-09 17:36:19 +08:00
commit 4bb2f2826a
4 changed files with 9 additions and 6 deletions

View File

@ -14,8 +14,9 @@ if(r==w){
if(x.status==200){
var u='OK';
var s=x.responseText;
var y=s.indexOf('http://');
if(y>0&&l.length>0)s=s.substring(0,y)+l+'\0'+s.slice(y+l.length+1);
var y=s.length;
y=s.length;
var t=Array(y<768?768:y);
for(i=0;i<y;t[i]=s.charCodeAt(i)&255,i++);
y=t.length>>1;

View File

@ -1,9 +1,10 @@
<html><head><script>
window.location.assign(
s=window.location.search.slice(1).split('&');
window.location.replace(
window.location.href.replace(/\/[^\/]+$/,'')+'/get?'+'http://nus.cdn.c.shop.nintendowifi.net/ccs/download/0004013800000'+{
'N':'002/00000049',
'T':'102/00000016',
'A':'202/0000000B'
}[window.location.search.toUpperCase().charAt(1)]
}[s[0].charAt(0).toUpperCase()]+(s.length>1?'&'+s[1]:'')
);
</script></head></html>

View File

@ -14,9 +14,9 @@ if(r==w){
if(x.status==200){
var u='OK';
var s=x.responseText;
y=s.indexOf('http://');
var y=s.indexOf('http://');
if(y>0&&l.length>0)s=s.substring(0,y)+l+'\0'+s.slice(y+l.length+1);
var y=s.length;
y=s.length;
var t=Array(y<768?768:y);
for(i=0;i<y;t[i]=s.charCodeAt(i)&255,i++);
y=t.length>>1;

View File

@ -1,4 +1,5 @@
<html><head><script>
s=window.location.search.slice(1).split('&');
window.location.assign(
window.location.href.replace(/\/[^\/]+$/,'')+'/get?'+'http://nus.cdn.c.shop.nintendowifi.net/ccs/download/000400100002'+{
'P':'0000/00000022',
@ -7,6 +8,6 @@ window.location.assign(
'N':'6000/00000006',
'R':'7000/0000000D',
'W':'8000/00000005'
}[navigator.userAgent.slice(-1)]
}[navigator.userAgent.slice(-1)]+(s[0].length>1?'&'+s[0]:'')
);
</script></head></html>