find
find copied to clipboard
Traverse <iframe> if Same Origin
Issue Description
The extension currently gathers no results from text within iframes.
Steps to Reproduce
- Open a web page with an iframe.
- Search for text contained within the iframe.
@dislegal Although it is possible using the standard JavaScript API to get the document object from an iframe (using element.contentDocument), due to security reasons it is only possible to search within iframes where the source is within the same domain.
Unfortunately this will not become a feature in the foreseeable future.
That's a shame! My whole use case for a regex search extension is to search within an iframe that has the same source as the page it's hosted on. Seems I'm an outlyer...
It is, I certainly would have implemented this feature if it were possible. Unfortunately my hands are tied.
@dislegal I've reopened this issue to attempt to track progress. I'm going to attempt to adapt the current algorithm to handle iframes that fall within the same origin. If this is successful, I will also ensure a small warning icon is displayed if the iframe is from another origin.
I'd love to hear what you've found. The AWS console uses a lot of iframes.
would like to have this feature too! at the mean time, does anyone know any alternative that works for iframe? Thanks
I would love to be able to search iframe-content from the same origin. The feature set and UI of find+ is really great, but as iframes are not included in the search, it is not helpful for my usecase - what a pity. FYI: my usescase is to use the "reg-ex search and replace" in Atlassian Confluence (which is a wiki) in the editing view. The editing view makes use of iframes...