Wednesday, 15 May 2013

javascript - Prevent new windows/tabs opened from iframe -



javascript - Prevent new windows/tabs opened from iframe -

i searched lot this, have not found solution.

i need contents of iframe (different domain) cannot open new pages/windows/tabs on browser. within iframe there javascript elements clicking on open new windows. in different domains, can not block them javascript. tested firefox extensions blocksite or leechblock, fail stop problem.

does have suggestions? (only firefox plz)

thanks in advance.

well, found solution. leave helpfull someone.

you have modify parameter dom.popup_allowed_events about:config. default comes "change click dblclick mouseup reset submit touchend". set "" , went fine.

javascript firefox iframe tabstop

No comments:

Post a Comment