Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

block links in htmlLoader

Contributor ,
Apr 16, 2014 Apr 16, 2014

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;

TOPICS
ActionScript
407
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 16, 2014 Apr 16, 2014

you should be able to traverse the links use html.window.document.getElementsByTagName('a')

Translate
Community Expert ,
Apr 16, 2014 Apr 16, 2014

you should be able to traverse the links use html.window.document.getElementsByTagName('a')

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 16, 2014 Apr 16, 2014
LATEST

Yes thats it. Found out I can access even attributes, values and functions.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines