Most of that code is pretty straightforward, but the test I do to check if scripts were blocked is very ugly.
Possibly superseded by https://pagure.io/librejs/pull-request/41
Pull-Request has been closed by quidam
Most of that code is pretty straightforward, but the test I do to check if scripts were blocked is very ugly.