Copy link to clipboard
Copied
Hi,
I am using a facebook login on a kiosk system. Some links on the login page are leading to popup windows - like subscription of a new facebook account. Is there a way to block those links directly in the htmlLoader?
I tried to do a onClick handler on the document but with no success.
html.window.document.onclick = clickHandler;
you should be able to traverse the links use html.window.document.getElementsByTagName('a')
Copy link to clipboard
Copied
you should be able to traverse the links use html.window.document.getElementsByTagName('a')
Copy link to clipboard
Copied
Yes thats it. Found out I can access even attributes, values and functions.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now