Some forums allow direct embedding of YouTube videos, and it's slowing down my browsing a lot when a user posts several videos in a single post. I want to allow YouTube's script only on youtube.com, not anywhere else.
I also want to disable social network tracking scripts on other sites so that Facebook/etc. is only allowed on their home domain, but I couldn't find out how to do it.
How do I set up the blacklist with exceptions? or whitelist with conditions?