I would suggest:
```js
getFrames(window).
  filter(iframe => mod.include.matchesAny(iframe.location.href)).
  forEach(mod._onContent);
```