広告ブロッカーの警告を削除 (#5408)
* remove f*ckadbloack * follow-buttonが消されないように * revert version * remove locales
This commit is contained in:
@ -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);
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user