AlertifyJS icon indicating copy to clipboard operation
AlertifyJS copied to clipboard

Brave blocks Alertify

Open zakarialounes opened this issue 2 years ago • 6 comments

With the Brave new feature to prevent cookie windows, alertify (notifier) no longer works. To test I invite you to follow the procedure described at https://brave.com/privacy-updates/21-blocking-cookie-notices/.

By modifying the defined classes it is possible to circumvent this, except that alertify does not take into account the modification of the notify classes defined in configuration. I looked a bit in the code and indeed it uses the classes defined in the defaults object.

zakarialounes avatar Nov 05 '22 12:11 zakarialounes

I confirm this: notifications don't work in brave, but work in google chrome. Brave recognizes alertify as ad banner and blocks it. You can check it by disabling ad block in: Shields -> Block ads and trackers -> Disable (I'm not sure in menu translation because I have Russian version of a browser)

viplike avatar Nov 09 '22 22:11 viplike

@viplike personally I never had any problem with Alertify and Brave, until Brave added this new feature, namely "Blocking cookie notices" which in fact adds a blocking list from "Easylist-Cookie List - Filter Obtrusive Cookie Notices", as stated in the article quoted above.

zakarialounes avatar Nov 10 '22 00:11 zakarialounes

@keupsonite hey, agree with you, I don't see my notifications after clicking on disabling cookie notices

viplike avatar Nov 10 '22 06:11 viplike

It seems they get filtered out based on class name. The solution is to rename notifier class names.

related #232

MohammadYounes avatar Nov 10 '22 08:11 MohammadYounes

It seems they get filtered out based on class name. The solution is to rename notifier class names.

related #232

Except that as I said in my first message @MohammadYounes, the modification of the classes for the notifier it is not taken into account.

zakarialounes avatar Nov 10 '22 14:11 zakarialounes

Same issue. Works great on most browsers, but use Brave extensively and Alertify has issues showing any error, success, etc messages that are temporarily displayed.

Benadato avatar Feb 14 '23 18:02 Benadato