First, thanks for making this script. Works great.
I understand the description of the plugin is 'Block Facebook news feed "sponsored" posts', but I also wanted that functionality on groups.
I don't know whether this would be the best way, but I made a small change on your code for this and decided to share.
I hope it's useful.