Solution for playtv.fr
I'm a contributor of NoPicAds and a user wrongly asked us to add support for playtv.fr (when our userscript is not meant for this).
Anyway, I answered and explained how to bypass the anti-adblock of playtv.fr.
Hence it'll be easy to implement for you, you'll only need to read my explanation.
Thank you for your solution but it does not work, because the main script contains many other necessary functions, and in addition only supports firefox onbeforescriptexecute.
Sorry if I have not replied earlier but userscripts.org is inaccessible for several days, but I found a solution by adding 8080.