Filter some elements from page using PHP.

The output buffer modifier already runs almost on
all pages.

Removing inline JavaScript will let us to do sandboxing.