The solution for plugins is really simple. Ask the plugin author to make their plugin hookable via actions or filters.
Filters get my vote BTW.
https://codex.wordpress.org/Plugin_API#Create_a_Filter_Function
Their really easy to implement and by doing that the plugin output can be easily modified or outright changed.