/    Sign up×
Community /Pin to ProfileBookmark

Firefox popup blocker and my javascript

I’m writing a javascript for a popup which works just fine in IE, but the popup blocker in FF is too aggressive and I can’t seem to make the popup work in that browser. Is there any way I can get a popup window to work that would not be flagged as a threat by the Firefox popup blocker.

A major problem here is that even if I add my site as being an “allowed” site, the popup still doesn’t appear. The linkis below. I’m at a loss. Any suggestions would be much appreciated.

[url]http://www.tech351.com/t_barny_demo/gallery/gallery1.html[/url]
(only the first picture has an active link with a popup attached)

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@felgallMar 28.2006 — Since your window.open command is inside a function the more agressive popup blockers which don't check where the function is called from will block it. To get a window.open past as many popup blockers as possible you need to puit it into the event handler code in the HTML link itself.
Copy linkTweet thisAlerts:
@UltimaterMar 28.2006 — Could also use a FORM, a single submit button, and the FORM's depreciated TARGET attribute the same way you can make use of the TARGET attribute on the A tag as Stephen suggested.
×

Success!

Help @philo351 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...