Hello,

How do we get the target link from an HTMLEmbedElement (Like we use
href for a HTMLLinkElement) ?

I am parsing the DOM and traversing through the elements to extract
the landing page from each element. Something like this:

if (elem instanceof HTMLLinkElement) {
    ...............
    ...............
} else if (elem instanceof HTMLEmbedElement) {
   .........
   ........
}


I can look for clickTag in the src and extract the target link for
some embedded elements. But there are many embedded elements without a
clickTag.

Any help would be appreciated.

Thank you
Muggle





_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to