invoiceradar / plugins

11 stars 5 forks source link

Accessing iFrame content #36

Open goaround opened 1 month ago

goaround commented 1 month ago

Hi,

Is there a way to access content inside an iFrame? For example, here at ovh.com the invoices are placed inside an iFrame and not found if I run a selector: RvT6dRnD I can't just load the URL of the iFrame because src="about:blank"

I have the same issue with Google AdSense, where I cannot load the URL of the iFrame.

tobiaslins commented 1 month ago

Hi @goaround !

We just started working on an option to scope scripts/selectors into an iFrame.

I just checked how ovh.com works and just created the plugin for it - I did use fetch() instead of relying on the iFrame data! Maybe this is something that would also work for Google AdSense

I'll keep you posted regarding the iFrame integration!