static filters to tame wordpress plugins
According to some stats, Wordpress is used on approximately 43% of websites on the Internet. I noticed a lot of 3rd party code is allowed as it is installed 1st party as a plugin. Few plugins serve basic site functionality and many others are just monetization, marketing, and social sharing bloat. Rather than pick what to block, this filter blocks all scripts from the /wp-content/plugins/ folder and whitelists those that fix basic site breakage as I encounter them.
Plugins and Fast WordPress Sites – It’s not the Number of Plugins, It’s the Quality
These plugins slow down your WordPress
Use This Test to Find Out Which Plugins are Slowing Down Your WordPress Site
... There are plugins to detect if you are using an ad blocker. Some sites even use plugins to monitor their other plugins to see if they're slow. It's silly.
Steps to fix breakages:
https://github.com/jawz101/ublockOrigin_wordpressWhitelist/wiki
A source list of many of the WP plugins out there:
http://plugins.svn.wordpress.org/
Essentially this blocks 96,000+ plugins and only allow 120 or so that sites use to make menus, add map widgets, etc. Wordpress plugins are also a target for a lot of vulnerabilites so you're just eliminating the problem by blocking all of them and only letting the minimum amount through.
I would say it would be cool if this list was used by a lot of people and that is why I share it. But since it is not a popular blocklist it means that this rule will continue to work.