uBlock Origin Blocks counter.js and Breaks Plugin
-
Hey Achal,
I really appreciate this plugin, but it would be great if you could rename the counter.js file in the plugin as right now this causes uBlock origin (and maybe other ad blockers) to block the file and breaks the functionality.
If anyone else has this problem, here’s how you can fix it:
1. Rename the counter.js file by going to counter-block > assets > js
I renamed the file to numbersgohigher.js
2. Edit the counter.php file in the main folder and change
plugins_url( 'assets/js/counter.js', __FILE__ ),
toplugins_url( 'assets/js/numbersgohigher.js', __FILE__ ),
(or whatever you renamed the JavaScript file to).
- The topic ‘uBlock Origin Blocks counter.js and Breaks Plugin’ is closed to new replies.