nerdexam
CIW

1D0-720 · Question #78

1D0-720 Question #78: Real Exam Question with Answer & Explanation

The correct answer is C. Pop-up blocker software. When JavaScript's window.open() is called, it attempts to launch a new browser window or tab - the classic mechanism behind pop-up windows. Pop-up blocker software (C) is the critical consideration because browsers and security tools routinely intercept and suppress window.open()

Web Development Best Practices

Question

What must you consider when designing pages using the JavaScript open() method?

Options

  • AServer-side includes
  • BBrowser plug-in issues
  • CPop-up blocker software
  • DUnsupported screen reader software

Explanation

When JavaScript's window.open() is called, it attempts to launch a new browser window or tab - the classic mechanism behind pop-up windows. Pop-up blocker software (C) is the critical consideration because browsers and security tools routinely intercept and suppress window.open() calls, meaning your intended window may silently never appear for the user. Designers must plan fallbacks (such as inline modals or warning messages) for when the pop-up is blocked.

Why the distractors are wrong:

  • A (Server-side includes): SSI is a server-side templating mechanism with no relationship to the client-side window.open() call.
  • B (Browser plug-in issues): Plug-ins are not meaningfully affected by or relevant to window.open() behavior.
  • D (Screen reader software): While accessibility matters broadly, window.open() 's primary failure mode is not executing at all due to blockers - not screen reader incompatibility.

Memory tip: Associate open() with "opening a pop-up" and ask yourself what specifically kills pop-ups - pop-up blockers. If you remember that window.open() = pop-up, the threat to that functionality follows naturally.

Topics

#window.open()#Pop-up blockers#Browser compatibility#JavaScript limitations

Community Discussion

No community discussion yet for this question.

Full 1D0-720 Practice