orta-sanz / adblock-detecter

Simple plugin to detect the presence of an adblock in the browser
3 stars 0 forks source link

Add the checking with classes, not with id #2

Closed Arrogance closed 7 years ago

Arrogance commented 7 years ago

Hi pal!

I think is better to check via classes, not id. You can add several class names (Ex: 'adsbox ad ads publicidad publi'). I can push a merge with theses changes.

orta-sanz commented 7 years ago

Great stuff mate! :) Feel free to push any improvements you want, I'm with you, better to check using classes

orta-sanz commented 7 years ago

Already updated, now we are using class names instead of id