mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 18:23:08 +02:00
ブロッカーへの警告はログイン時のみ表示するように
This commit is contained in:
parent
cba0dd5e17
commit
d93f76c1af
2 changed files with 8 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
||||||
require('fuckadblock');
|
|
||||||
|
|
||||||
declare const fuckAdBlock: any;
|
declare const fuckAdBlock: any;
|
||||||
|
|
||||||
export default (os) => {
|
export default (os) => {
|
||||||
|
require('fuckadblock');
|
||||||
|
|
||||||
function adBlockDetected() {
|
function adBlockDetected() {
|
||||||
os.apis.dialog({
|
os.apis.dialog({
|
||||||
title: '%fa:exclamation-triangle%%i18n:common.adblock.detected%',
|
title: '%fa:exclamation-triangle%%i18n:common.adblock.detected%',
|
||||||
|
|
|
@ -87,10 +87,12 @@ init(async (launch) => {
|
||||||
updateBanner: updateBanner(os)
|
updateBanner: updateBanner(os)
|
||||||
}));
|
}));
|
||||||
|
|
||||||
/**
|
if (os.store.getters.isSignedIn) {
|
||||||
* Fuck AD Block
|
/**
|
||||||
*/
|
* Fuck AD Block
|
||||||
fuckAdBlock(os);
|
*/
|
||||||
|
fuckAdBlock(os);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Init Notification
|
* Init Notification
|
||||||
|
|
Loading…
Reference in a new issue