sualko / cloud_piwik

Track @Nextcloud users with @matomo-org (formerly Piwik)
http://sualko.github.io/cloud_piwik/
MIT License
37 stars 18 forks source link

Notify admin if a content blocker affects settings form #65

Closed DrMurx closed 5 years ago

DrMurx commented 5 years ago

Some content blockers for browsers filter HTML resources by certain keywords in their URLs, for example piwik or matomo. This prevents loading of JavaScript and CSS required for the settings form of the piwik/matomo plugin.

This PR adds a little text above the settings form to notify NextCloud admins about content blockers. If JavaScript is not blocked by any rule, the text hint disappears automatically.

Fixes #53.

sualko commented 5 years ago

:tada: Awesome. Thank you :+1: