vue-adblock-detect
0.0.2 • Public • Published Simple ad blocker detection mixin for vue.js
<script>
import VueAdBlockDetect from 'vue-adblock-detect';
export default{
mixins: [VueAdBlockDetect],
beforeMount(){
this.detectAdBlock().then((response)=>{
if(response){
//ad blocker detected
}else{
//no ad blocker detected
}
})
}
}
</script>
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
0.0.2 | 71 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
0.0.2 | 71 | |
0.0.1 | 1 | |
Package Sidebar
Install
Weekly Downloads