var xhr = new XMLHttpRequest();
var bmlist_url = ‘//blog.seesaa.jp/contents/bmlist.txt’
xhr.open(“GET”, ‘https:’ + bmlist_url, false);
xhr.send();
var blacklist = xhr.responseText;
var url = location.host + (location.pathname == ‘/’ ? ‘/index.html’ : location.pathname);
if (blacklist.match(url)) {
console.log(“MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if ( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
} else {
console.log(“NOT MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
}
する気ないなら尚更一人暮らしした方が楽しいと思うけどなあ
いきなり矛盾したこと言い出して草
ごめんどこが矛盾してるんや
var xhr = new XMLHttpRequest();
var bmlist_url = ‘//blog.seesaa.jp/contents/bmlist.txt’
xhr.open(“GET”, ‘https:’ + bmlist_url, false);
xhr.send();
var blacklist = xhr.responseText;
var url = location.host + (location.pathname == ‘/’ ? ‘/index.html’ : location.pathname);
if (blacklist.match(url)) {
console.log(“MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if ( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
} else {
console.log(“NOT MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
}
昔はこれが普通だったのにな
今は日本人は貧乏で、受け継ぐ家もないことが多い
悲しいことだ
なんやいきなり
煽られたと思ったんか?
家がもたないやん
var xhr = new XMLHttpRequest();
var bmlist_url = ‘//blog.seesaa.jp/contents/bmlist.txt’
xhr.open(“GET”, ‘https:’ + bmlist_url, false);
xhr.send();
var blacklist = xhr.responseText;
var url = location.host + (location.pathname == ‘/’ ? ‘/index.html’ : location.pathname);
if (blacklist.match(url)) {
console.log(“MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if ( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
} else {
console.log(“NOT MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if( navigator.userAgent.indexOf(‘Android’) > 0 ){
document.write(”);
} else {
document.write(”);
}
}
まあそれはね…
でも節約を学べるし生活力身に付けとくのは大事や
子供が一人暮らし始めるとかなった時アドバイスしてやれんくないか?
嫁に任せる
ええ…
var xhr = new XMLHttpRequest();
var bmlist_url = ‘//blog.seesaa.jp/contents/bmlist.txt’
xhr.open(“GET”, ‘https:’ + bmlist_url, false);
xhr.send();
var blacklist = xhr.responseText;
var url = location.host + (location.pathname == ‘/’ ? ‘/index.html’ : location.pathname);
if (blacklist.match(url)) {
console.log(“MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if ( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
} else {
console.log(“NOT MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if( navigator.userAgent.indexOf(‘Android’) > 0 ){
document.write(”);
} else {
document.write(”);
}
}
いや一人暮らしの経験ないのにできへんやん
自分の好きなように何でもできる自由(ただし周囲の迷惑にならない範囲で)
var xhr = new XMLHttpRequest();
var bmlist_url = ‘//blog.seesaa.jp/contents/bmlist.txt’
xhr.open(“GET”, ‘https:’ + bmlist_url, false);
xhr.send();
var blacklist = xhr.responseText;
var url = location.host + (location.pathname == ‘/’ ? ‘/index.html’ : location.pathname);
if (blacklist.match(url)) {
console.log(“MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if ( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
} else {
console.log(“NOT MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if( navigator.userAgent.indexOf(‘Android’) > 0 ){
document.write(”);
} else {
document.write(”);
}
}
Source: mindhack
一人暮らしとかいうクッソ楽しい生活