I managed to get the sandbox working, and the option to break out of sandbox (with approval).
The network sandboxing doesn't work yet (I don't want malicious script to be execute and exfiltrate the data), I created an issue here: https://github.com/erichll/pi-packages/issues/1 - might submit a PR once I get a reply.
It's always a pain working with legal stuffs & guys. YouTube make two valid points:
- Streamus has to display video
- Streamus has to display ads
And Sean's doing his very best job to display the video. Ads will be fixed by YouTube team. So far so good...
However, the final one is not reasonable at all: "stop playing after hiding the extension". How could that be different with another tab open and playing YouTube video on YouTube website? If this is a requirement in the deal with labels, even YouTube.com is not compliant with its TOS :-)