diff --git a/quasar.conf.js b/quasar.conf.js index 5504a7f8..8fc8a025 100644 --- a/quasar.conf.js +++ b/quasar.conf.js @@ -97,7 +97,7 @@ module.exports = configure(function(ctx) { importStrategy: 'auto', // Quasar plugins - plugins: ['Loading', 'LocalStorage', 'Notify'] + plugins: ['Loading', 'LocalStorage', 'Notify', 'Dialog'] }, animations: 'all', // --- includes all animations diff --git a/src/pages/Anime.vue b/src/pages/Anime.vue index 2b0c15c9..5a5d15d0 100644 --- a/src/pages/Anime.vue +++ b/src/pages/Anime.vue @@ -23,6 +23,21 @@ class="q-ma-lg" :data-plyr-embed-id="anime.trailer_url" > + + Watch on gogo a good adblocker before proceeding.', + cancel: true, + html: true, + persistent: true + }) + .onOk(() => { + // @ts-ignore + cache.gogo = true; + this.$q.localStorage.set('cache', cache); + window.location.href = `https://www25.gogoanimes.tv//search.html?keyword=${encodeURIComponent( + this.anime.title + )}`; + }); + } + }, norm(x: number) { if (!x) return; return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');