⏪ Reverting banner ad
This commit is contained in:
@@ -342,34 +342,34 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
let showAd = localStorage.getItem("showAd") === "no"
|
// let showAd = localStorage.getItem("showAd") === "no"
|
||||||
if (!showAd) {
|
// if (!showAd) {
|
||||||
setTimeout(() => {
|
// setTimeout(() => {
|
||||||
this.$toast.clear()
|
// this.$toast.clear()
|
||||||
this.$toast.show(
|
// this.$toast.show(
|
||||||
"<span>Get <u><a href='https://gum.co/keky' target='_blank' rel='noopener'>De-Coding The Passion Project</a></u> book, expertly crafted by the creator of Postwoman. Whoosh this away to dismiss →</span>",
|
// "<span>Get <u><a href='https://gum.co/keky' target='_blank' rel='noopener'>De-Coding The Passion Project</a></u> book, expertly crafted by the creator of Postwoman. Whoosh this away to dismiss →</span>",
|
||||||
{
|
// {
|
||||||
icon: "",
|
// icon: "",
|
||||||
duration: 0,
|
// duration: 0,
|
||||||
theme: "toasted-ad",
|
// theme: "toasted-ad",
|
||||||
action: [
|
// action: [
|
||||||
{
|
// {
|
||||||
text: "Get",
|
// text: "Get",
|
||||||
icon: "chevron_right",
|
// icon: "chevron_right",
|
||||||
onClick: (e, toastObject) => {
|
// onClick: (e, toastObject) => {
|
||||||
localStorage.setItem("showAd", "no")
|
// localStorage.setItem("showAd", "no")
|
||||||
toastObject.goAway(0)
|
// toastObject.goAway(0)
|
||||||
window.open("https://gum.co/keky")
|
// window.open("https://gum.co/keky")
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
],
|
// ],
|
||||||
onComplete() {
|
// onComplete() {
|
||||||
localStorage.setItem("showAd", "no")
|
// localStorage.setItem("showAd", "no")
|
||||||
},
|
// },
|
||||||
}
|
// }
|
||||||
)
|
// )
|
||||||
}, 11000)
|
// }, 11000)
|
||||||
}
|
// }
|
||||||
|
|
||||||
let showExtensionsToast = localStorage.getItem("showExtensionsToast") === "yes"
|
let showExtensionsToast = localStorage.getItem("showExtensionsToast") === "yes"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user