As I mentioned before, the best way to approach this is to do the following:
```
if((url.indexOf("contentRenderer.do?") != -1 || url.indexOf("target=results_ResultsList") != -1)
  && getSearchResults(doc).length) {
```
```
function getSearchResults(doc) {
  return ZU.xpath(doc, '//tr[./td/input[@name="frm_tagged_documents"]]/td/a');//exclude weblinks
}
```
This way you will be certain that you're in the right frame