Complex sentence: They can operate either by intercepting calls to the framework or as filters, manipulating the behavior of the site and the way in which contents are displayed.
Split into simpler sentences: They can operate whether by intercepting calls to the framework or by filtering. So that they can manipulate the behavior of the site and the way in which contents are displayed.