広告ブロッカーの警告を削除 (#5408)

* remove f*ckadbloack

* follow-buttonが消されないように

* revert version

* remove locales
This commit is contained in:
MeiMei
2019-09-08 21:19:28 +09:00
committed by syuilo
parent c033464b92
commit a7b710a2f8
7 changed files with 4 additions and 39 deletions

View File

@ -1,18 +0,0 @@
declare const fuckAdBlock: any;
export default ($root: any) => {
require('fuckadblock');
function adBlockDetected() {
$root.dialog({
title: $root.$t('@.adblock.detected'),
text: $root.$t('@.adblock.warning')
});
}
if (fuckAdBlock === undefined) {
adBlockDetected();
} else {
fuckAdBlock.onDetected(adBlockDetected);
}
};