Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

How can i prevent loading the source page in the same window.

  • 4 답장
  • 1 이 문제를 만남
  • 5 보기
  • 최종 답변자: cor-el

more options

Example I've an image tag onclicking on that image will loads the target page in the same window. I need to prevent this action and it should load in the new window or new tab. and also i need to execute the solution in firefox headless binary .

Example I've an image tag onclicking on that image will loads the target page in the same window. I need to prevent this action and it should load in the new window or new tab. and also i need to execute the solution in firefox headless binary .

모든 댓글 (4)

more options

Right click and select Open In New . . . .

more options

manirajmkr said

Example I've an image tag onclicking on that image will loads the target page in the same window. I need to prevent this action and it should load in the new window or new tab. and also i need to execute the solution in firefox headless binary .

To be very precise when "_top" is used in the target attribute it Opens the linked document in the full body of the window.

more options

Example url: http://publish.rcc.bps-core.com/creative_preview/rtb/3101/5e/ec/5eec90874448307ca9e49676411afc96.html

All I need is when clicking the image from the above url. it should not load the target url in the same window. instead it should load in the separate window or tab.

more options

You can middle-click a link or hold down the Ctrl key and left-click the link to open the link in a new tab.