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(”);
}
}
実践的で草
ガチで最終的に初段くらいなれるようなソフトだったら神やな
ガチでわからん
4つてどこになるん
5五角と5四角以外ないぞ
54角は両取りじゃないぞ間抜け
5四は受かってるからあかんやろ
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
藤井聡太が将棋を教えるゲームが爆誕!聡太「将棋会館まで来てくれてありがとう。今日はどうしたの?