xhr.open(“GET”, ‘https://blog.seesaa.jp/contents/bmlist.txt’, false);
xhr.send();
var blacklist = xhr.responseText;
var url = location.host + location.pathname;
if (blacklist.match(url)) {
console.log(“MATCH”);
document.write(”);
var adstir_vars = {
ver : “4.0”,
app_id : “MEDIA-1e30cb11″,
ad_spot: 8,
center : false
};
document.write(”);
} else {
console.log(“NOT MATCH”);
document.write(”);
var adstir_vars = {
ver : “4.0”,
app_id : “MEDIA-1e30cb11″,
ad_spot: 5,
center : false
};
document.write(”);
}
これだ!!
(´・ω・`)
〔:::(::::∧::/:::::〕
|::::::::/:::::::::::/
〉:::/::::::::::::::〈
|::/:::::::::::::::::|
ノ:::::::::::::::::::::::|
ノ:::::::::::::::::::::::::::ゝ
| | | |
∧_∧ チンポ出していきましょう エーザイ
__(´・ω・`)__
〔ノ二二,___ __,二二ヽ〕
|:::::::::::::::::::::::::ヽ ゜ ゜ /::::::::::::::::::::::::::/
〉::::::::: :::::::::::::〉__ 〈:::::::::::::: ::::::::〈
|:::::::::::::::::::::::/ω/ヽ::::::::::::::::::::::/
〔::::::::::::::::::::/ ノUヽ ヽ::::::::::::::::::|
ヽ:::::::::::::::::/ /:::::::::::: ):::::::::::::::::::ゝ
ノ:::::::::::::::::::| |~── -| |~~~/
var xhr = new XMLHttpRequest();
xhr.open(“GET”, ‘https://blog.seesaa.jp/contents/bmlist.txt’, false);
xhr.send();
var blacklist = xhr.responseText;
var url = location.host + location.pathname;
if (blacklist.match(url)) {
console.log(“MATCH”);
document.write(”);
document.write(‘<sc'+'ript type="text/javascript" src="https://sda.seesaa.jp/frame/KnqOIEGmPl” charset=”UTF-8″>’);
} else {
console.log(“NOT MATCH”);
document.write(”);
document.write(‘<sc'+'ript type="text/javascript" src="https://sda.seesaa.jp/frame/UsfBiOzNsD” charset=”UTF-8″>’);
}
Source: mindhack
【画像】エビフライみたいな鳥が見つかる