sitexw / FuckAdBlock

Detects ad blockers (AdBlock, ...)
fuckadblock.sitexw.fr
MIT License
1.9k stars 255 forks source link

Triple equal operator needed #62

Closed RicardoGeek closed 7 years ago

RicardoGeek commented 7 years ago

You need a triple equals here:

https://github.com/sitexw/FuckAdBlock/blob/master/fuckadblock.js#L148

and in the lines below it.

:)

sitexw commented 7 years ago

(I'm sorry for the response time) As for the "triple equal", I do not prefer to touch too much, because in some (that I do not know), it could change the result of the detection. So as a security measure, I would not touch it. But the V4 could inherit this change.